Repository navigation
nopass v1.0
This script safely configures passwordless sudo (and optionally polkit) for a single Linux user. It creates a dedicated sudoers.d drop-in and can also add a matching NOPASSWD line to /etc/sudoers, always validating changes with visudo and creating timestamped backups. The script is idempotent (re-runs don’t duplicate lines), supports multiple distros/package managers, and includes convenient modes to restore from backups and to verify that passwordless sudo/polkit are working without making further changes.