系统添加用户的标准步骤Notcopyinganyfilefromskeldirectoryintoit..docVIP

  • 383
  • 0
  • 约小于1千字
  • 约 1页
  • 2020-12-01 发布于山东
  • 举报

系统添加用户的标准步骤Notcopyinganyfilefromskeldirectoryintoit..doc

系统添加用户的标准步骤 Not copying any file from skel directory into it. 在 RHEL 5 或 CentOS5 中安装 oracle11g 时, groupadd oinstallgroupadd dbamkdir -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_profile ’, .bashrc, bash_logout 原因:系统添加用户的标准步骤 1.编辑 /etc/passwd 与/etc/group2. 创建用户主目录 3.从/etc/skel 拷贝文 件与目录 4.让新用户获得其主目录与文件的拥有权限 5.给新 用户一个密码解决办法:依旧使用上面的脚本建用户,然后 手动拷贝配置文件到 /u01/oracle 下。 cp /etc/skel/.bash_profile /u01/oraclecp

文档评论(0)

1亿VIP精品文档

相关文档