📜  ubuntu sudo 没有密码 - Shell-Bash 代码示例

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

代码示例2
#1. Open the /etc/sudoers file (as root, of course!) by running:
sudo nano /etc/sudoers

#2. At the end of the /etc/sudoers file add this line:
username ALL=(ALL) NOPASSWD:ALL