Simon Willison’s Weblog

Subscribe

Sunday, 13th February 2022

TIL Enabling a user to execute a specific command as root without a password — I wanted a script running as a non-root user to be able to restart a systemd service on my Ubuntu machine without needing a password.