Set ubuntu sudo password-free

A. Modify the permissions of sudoers

II. Modify sudoers file

     <1> to add the last line in the file yourusername ALL = (ALL) NOPASSWD: ALL

III. Modify the permissions back to the sudoers

Fourth, you can restart the computer

 

Guess you like

Origin www.cnblogs.com/linux-37ge/p/11100312.html