红联Linux门户
Linux帮助

求助Red Hat Enterprise Linux 5

发布时间:2009-04-28 15:42:21来源:红联作者:xllongxiao
我在Red Hat Enterprise Linux 5下面建立用户.出现bash:useradd:command not found
我建立smb用户时老出现密码不正确.我都输入N片了都一个提示failed to modify password entry for user xiao我都是在root用户下操作的.
有Red Hat Enterprise Linux 5教程 的老大哥们发个下载地址,谢谢
文章评论

共有 6 条评论

  1. ba0zhu 于 2009-05-09 15:32:58发表:

    很多命令是管理员专用的。。所以要使用管理员的环境设置(环境变量)。。。所以当使用useradd这样的命令时请使用。。su-先切换到带有root身份的root工作环境。。如果使用su只是切换到root。。。但你可以使用的命令默认还是只有普通用户的命令

  2. angel.wing 于 2009-05-07 17:18:26发表:

    沙发阐述的够明确 顶

  3. xllongxiao 于 2009-05-07 02:17:53发表:

    顶上去~~~~~~~~~~~``

  4. xllongxiao 于 2009-05-06 06:35:18发表:

    雾水啊~~~~~~~~~~~~

  5. ba0zhu 于 2009-05-02 12:36:41发表:

    环境变量

  6. LinuxSpace 于 2009-04-28 17:26:58发表:

    1.在绝对路径/usr/sbin中执行;
    2.用root用户执行命令。用“su -”可以取得root用户的权限和环境(注:是“su -”不是“su”,因为“su”只取得root的权限,“su -”取得root权限后还执行root的profile来取得root的环境变量)
    3.如果确定要使用非root用户的当前用户来执行命令,需要把系统路径加到该用户的.bash_profile或者.cshrc_profile文件中去