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换成自己的名字。

相关文章: