Oct 01, 2017 · Updated: Jun 24, 2026 · by Tim Kamanin
This can be done in 3 quick steps:
sudo nano /etc/sudoersusername is the user you want to grant passwordless sudo to. Save your changes.You're done. From now on, that user can run sudo any_command without entering a sudo password.
Hey, if you've found this useful, please share the post to help other folks find it: