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

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

代码示例1
#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