feat: Add sudo authentication screen and update authorization flow
- Introduced a new module for terminal presentation during sudo authentication. - Updated the application to display a temporary authentication notice. - Enhanced tests to cover the new sudo authentication flow and its edge cases.
This commit is contained in:
parent
0b7b52521f
commit
d5a143ee36
5 changed files with 206 additions and 15 deletions
|
|
@ -49,9 +49,10 @@ 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 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.
|
||||
authorization or displays a temporary authentication notice before returning
|
||||
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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue