红联Linux门户
Linux帮助

将帐号加入sudoer组

发布时间:2007-12-12 01:28:43来源:红联作者:erfcend
Fedora默认没有把用户加入sudoer组。有点不方便。

将当前用户加入sudoer组中,以root用户运行
echo 'xxxxx ALL=(ALL) ALL' >> /etc/sudoers
or
gedit /etc/sudoers,添加'xxxxx ALL=(ALL) ALL到最后最后一行。
xxxxx是需要使用的ID
文章评论

共有 0 条评论