# /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


arrow
arrow
    全站熱搜

    haman77 發表在 痞客邦 留言(0) 人氣()