# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
# Host alias specification
Host_Alias SERVER =ALL
# User alias specification
User_Alias ADMIN = paul_chen
#User_Alias USER =
# Cmnd alias specification
Cmnd_Alias ROOT_COMMAND =ALL
# User privilege specification
Runas_Alias RUN =ALL
ADMIN SERVER=(RUN) NOPASSWD:ROOT_COMMAND
USER SERVER=(RUN) ROOT_COMMAND
root ALL=(ALL) ALL
# Allow members of group sudo to execute any command after they have
# provided their password
# (Note that later entries override this, so you might need to move
# it further down)
%sudo ALL=(ALL) ALL
#
#includedir /etc/sudoers.d
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
- Jun 15 Tue 2010 19:19
sudoers
全站熱搜
留言列表
發表留言