Delegate privileged authentication to sudo PAM

This commit is contained in:
Philip Henning 2026-09-03 18:35:20 +02:00
parent 7872991e0b
commit 026bbc4eff
8 changed files with 266 additions and 236 deletions

View file

@ -47,8 +47,9 @@ uvx git+https://git.s1q.dev/phg/hosts.git
> limitations before granting sudo access.
Press `Ctrl+E` to enter Privileged Mode. The application uses an existing sudo
authorization or asks for your password, then creates a Pre-edit Backup before
enabling changes.
authorization or temporarily returns control of the terminal to `sudo` and its
configured PAM authentication method. It then creates a Pre-edit Backup before
enabling changes. `hosts` never collects or handles authentication credentials.
Start with the [user guide](docs/user-guide.md) for the complete workflow,
including persistence behavior and manual recovery.