系统添加用户的标准步骤 Not copying any file from skel directory into it.
来源:百度文库 编辑:神马文学网 时间:2024/04/27 21:52:22
在RHEL 5或CentOS5中安装oracle11g时,
groupadd oinstall
groupadd dba
mkdir -p /u01/oracle ( /u01/oracle 就在这里安装Oracle 11g)
建立用户:
useradd -g oinstall -G dba -d /u01/oracle oracle
结果报错:
useradd: warning: the home directory already exists.
Not copying any file from skel directory into it.
进入/u01/oracle目录,没有.bash_pro
原因:
系统添加用户的标准步骤
1.编辑/etc/passwd与/etc/group
2.创建用户主目录
3.从/etc/skel拷贝文件与目录
4.让新用户获得其主目录与文件的拥有权限
5.给新用户一个密码
解决办法:
依旧使用上面的脚本建用户,然后手动拷贝配置文件到/u01/oracle下。
cp /etc/skel/.bash_pro
cp /etc/skel/.bashrc /u01/oracle
cp /etc/skel/.bash_logout /u01/oracle
这样既可。
系统添加用户的标准步骤 Not copying any file from skel directory into it.
添加用户帐号报错unable to lock password file
is not in sudoer file
he is just not that into you
He's Just Not That Into You
He's Just Not That Into You
He's Just Not That Into You
no?longer,?not?...?any?longer?与?no?more -2009...
no?longer,?not?...?any?longer?与?no?more
Could not create output file 'Unit1.dcu'
安装系统的步骤
装系统的步骤
Symbian添加一个控件的基本步骤
Symbian添加一个控件的基本步骤
在桌面上添加Flash时钟的步骤
博客添加视频的五个步骤
创建用户Persona的关键步骤
How To Create A RSS Feed From Any Web Page
重装电脑系统的步骤
笔记本电脑的系统安装步骤
重装电脑系统的步骤
重装电脑系统的步骤
重装电脑系统的步骤
重装电脑系统的步骤