RHEL 5 下创建用户的问题
在RHEL 5中安装oracle10,
按照as4的建用户方法建用户:
useradd-gdba-d/oracle-moracle
结果报错:
useradd: warning: the home directory already exists. Not copying any file from skel directory into it.
建完的用户没有.bashrc等文件。
解决办法:
依旧使用上面的脚本建用户,然后手动拷贝配置文件到/oracle下。cp '/etc/skel/.bash_profile' '/etc/skel/.bashrc' '/etc/skel/.bash_logout' /oracle
相关推荐
Hody 2020-08-16
FightFourEggs 2020-08-16
yanghuatong 2020-08-16
LuoXinLoves 2020-08-09
Justdoit00 2020-06-26
娜娜 2020-06-22
Carlos 2020-06-16
zhangchaoming 2020-06-04
FightFourEggs 2020-05-28
Carlos 2020-05-26
流云追风 2020-05-14
Kingonion 2020-05-04
langyue 2020-05-03
zjyhll 2020-04-26
oraclemch 2020-04-19
learningoracle 2020-04-18