[导入]FC7把自己的用户添加到sudo中

根用户操作

首先以root运行
su root

echo 'albert ALL=(ALL) ALL' >> /etc/sudoers

格式
'your_user_name ALL=(ALL)NOPASSWD: ALL'
NOPASSWD是不需要输入密码
文章来源:http://localhost/blog/read.php?12
posted @ 2007-07-14 01:23  zeus2  Views(226)  Comments(0Edit  收藏  举报