📜  ubuntu 中的所有 sudo 命令都是管理员 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:14.456000             🧑  作者: Mango

代码示例1
By  default,  only the user who installed the system is permitted to run sudo. To add more
       administrators, i. e. users who can run sudo, you have to add these  users  to  the  group
       'admin' by doing one of the following steps:

       * In a shell, do

           sudo adduser username admin

       * Use  the graphical "Users & Groups" program in the "System settings" menu to add the new
         user to the admin group.