xxx$ sudo vi /etc/sudoers
修改为如下代码:
# Allow members of group sudo to execute any command %sudo ALL=(ALL:ALL) NOPASSWD:NOPASSWD:ALL