Post

sudo without password

Add the following line at the end of /etc/sudoers (just after “#includedir /etc/sudoers.d”):

1
username ALL=(ALL) NOPASSWD: ALL

In my case:

1
2
#includedir /etc/sudoers.d
jonas ALL=(ALL) NOPASSWD: ALL
This post is licensed under CC BY 4.0 by the author.