Sunday, 13 April 2014

Sudo avoid password prompt in Linux Mint

Its a big time saver avoiding entering the password for sudo. To avoid this on Linux Mint :

  • Open 'visudo'

# sudo visudo

  • At the end of the file place (replace 'cwishaw' with your username)

 cwishaw  ALL=(ALL:ALL)  NOPASSWD: ALL
  • Press 'Ctrl + x' to save the file
  • Open a new Terminal and sudo commands will no longer request a password

No comments:

Post a Comment