Skip to content

Give password-less sudo to a user

Edit the sudoers file

sudo visudo
# or
vim /etc/sudoers

After the entry #includedir /etc/sudoers.d add this:

<username>  ALL=(ALL) NOPASSWD: ALL

Save and exit, and you're good to go!