rodrigosantosbr

Allow passwordless sudo

Jun 17th, 2019
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
sudo visudo

We need to edit the line

%sudo   ALL=(ALL:ALL) ALL

and look like this:

%sudo  ALL=(ALL:ALL) NOPASSWD: ALL

We can save the file and exit.

In order to verify that it works properly, run:

sudo grep root /etc/shadow

We needed to logout and login again for the verification

Add Comment
Please, Sign In to add comment