Linux系统给用户设置sudo权限 使用usermod命令 // -G 指定附加组 usermod -G sudo username Ubuntu中设置管理员是将用户附加组设置为sudo CentOS中则为wheel 需要在/etc/sudoers中删除wheel前的注释