摘要:
1. 用root运行命令visudo。添加 your_user_name ALL=(ALL) ALL2.可以/etc/sudoers添加普通用户权限,加一行就OK了。NOPASSWD字符串可以另你在使用sudo的时候不用输入密码。#### User privilege specification##root ALL=(ALL) ALL## Uncomment to allow members of group wheel to execute any command# %wheel ALL=(ALL) ALLusername ALL=(ALL) NOPASSWD: ALLFrom: http: 阅读全文
posted @ 2012-12-20 01:37
ZhanGSKen163
阅读(404)
评论(0)
推荐(0)
浙公网安备 33010602011771号