/notebook/linux-special-topics/custom-sudoers

Custom Sudoers


sudo nano /etc/sudoers.d/passwordless-sudo

Add the same line as above to the new file:

username ALL=(ALL) NOPASSWD: ALL

Save and exit the file. Make sure the file has the correct permissions:

sudo chmod 0440 /etc/sudoers.d/passwordless-sudo

external resources

Tags

linux ubuntu

About

I am an engineer and educator, having spent ten years as a professor. My goal is to help you build your knowledge of design and technology, get your hardware working, and propel your startup or small business. Get in touch!

Read More...