2011年8月12日 星期五

Add user into sudo list

1. #sudo -s
2. #chmod u+w /etc/sudoers
3. #visudo 在root ALL=(ALL) ALLZ下 添加xxx ALL=(ALL) ALL
4. save
5. #chmod u-w /etc/sudoers