赋予普通用户 sudo 的权限方法 Posted on 2020-10-16 In Linux 赋予普通用户 sudo 权限有两种方法: 通过修改 /etc/sudoers 文件,添加一行即可 “user ALL=(ALL:ALL) ALL” 将用户添加到 sudo 组中,可以在 /etc/group 中看到 sudo:x:27:usera,userb 12$ sudo usermod -a -G sudo user$ sudo chsh -s /bin/bash user Donate WeChat Pay Alipay Welcome to my other publishing channels WeChat