/etc/sudoers
command for root: visudo (ie "vim /etc/sudoers")
Move the cursor to the last line, and add "your_user_name ALL=(ALL) "
if you think input rt password is irritable:your_user_name ALL=(ALL)NOPASSWD: ALL .
But all the operation will be logged in syslog.
本文介绍如何使用visudo编辑器修改/etc/sudoers文件,为特定用户分配超级用户权限,并提供了两种配置方式:一种需要输入密码,另一种则设置为无需密码即可执行所有操作。
884

被折叠的 条评论
为什么被折叠?



