Enable passwordless sudo for user

echo 'someuser ALL=(ALL) NOPASSWD:ALL' | sudo tee /etc/sudoers.d/someuser-nopasswd
sudo chmod 440 /etc/sudoers.d/someuser-nopasswd
sudo visudo -c    # sanity-check sudoers syntax

 


Revision #1
Created 2026-07-11 15:16:31 UTC by Dino Edwards
Updated 2026-07-11 15:17:40 UTC by Dino Edwards