Sudo su without password

By | December 15, 2014

Often I need to do something quickly as root, so I do a sudo su and then I exit back so I have my normal user permissions again.

To be asked each time for my password .., well it gets tedious after a while.

Now what to do?

Type in:

visudo

Now add after the last line

<> ALL=(ALL) NOPASSWD:ALL

That’s it! From now on no more asking for a password.

Leave a Reply

Your email address will not be published. Required fields are marked *