if you are upset with sudo password, add this line in /etc/sudoers
- xxxxxx ALL=(ALL) NOPASSWD: ALL (xxxxxx is your login name)
- sudo will not ask anymore for a password
即:
sudo gedit /etc/sudoers
在最后添加:
xxxxx ALL=(ALL)NOPASSWD:ALL
其中xxxxx换成自己的名字。
原文地址:https://www.cnblogs.com/jsdy/p/12098511.html
时间: 2024-11-03 03:23:48