# User privilege specification
root ALL=(ALL:ALL) ALL
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
# See sudoers(5) for more information on "#include" directives:
#includedir /etc/sudoers.d
# User rules for ansible
ansible ALL=(ALL) NOPASSWD:ALL
web ALL=(ALL) NOPASSWD:ALL
root@rz20674:/home/web#
sudo
微信:jinmuqq222