sudo password without lose

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

which is:

sudo gedit /etc/sudoers

If my name ubuntu lose calisson, add at the end:

calisson ALL=(ALL)NOPASSWD:ALL

 

 

Ubuntu how to see their name:

cat /etc/hostname

Guess you like

Origin www.cnblogs.com/jsdy/p/12098511.html