红联Linux门户
Linux帮助

加入sudo组错误

发布时间:2008-06-06 14:43:05来源:红联作者:saiswim86
[root@localhost yong]# echo 'yongALL=(ALL)NOPASSWD:ALL' >> /etc/sudoers
[root@localhost yong]# sudo yum install yum-fastestmirror
>>> sudoers file: syntax error, line 94 <<<
>>> sudoers file: syntax error, line 95 <<<
>>> sudoers file: syntax error, line 95 <<<
sudo: parse error in /etc/sudoers near line 94

yong是我的用户名,请什么是问题?
文章评论

共有 2 条评论

  1. deepwhite 于 2008-06-06 15:31:58发表:

    好像忘记写空格。

  2. marco.chan 于 2008-06-06 15:13:05发表:

    visudo,然后慢慢编辑~

    好像你写的不对~