配置要点:
1. 设置用户权限
......................前面省略....................
# User privilege specification
root ALL=(ALL:ALL) ALL
fritt ALL=(ALL:ALL) NOPASSWD:ALL
......................后面省略.....................
2.设置sudo权限
......................前面省略.......................
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
fritt ALL=(ALL:ALL) NOPASSWD:ALL
......................后面省略.......................
主要配置,以上即可,配置文件见下文.
</