Sunday, 13 April 2014

CrunchBang Linux #! avoid password for sudo




To avoid changing the password for the sudo user on CrunchBang Linux #! the first step is to Enable the #! root account

Once you are logged on as root run the following command :

# visudo

At the bottom of the file enter :

cwishaw    ALL=(ALL:ALL) NOPASSWD: ALL

Note - change 'cwishaw' with your user account.

Save the file and exit. Login again as the user. test sudo and you should be password free. Have fun!

No comments:

Post a Comment