Expand description
Helpers for the optional sudo credential cache (timestamp_timeout) setup wizard.
Constants§
- SUDOERS_
DROP_ IN_ PATH - Drop-in file path suggested by the wizard (stable name for detection).
- SUDO_
TIMESTAMP_ INSTRUCTION_ VIEWPORT_ LINES - Visible instruction lines in the sudo timestamp wizard (scroll viewport height).
Functions§
- apply_
drop_ in_ shell_ script - What: Build a POSIX shell script that validates and installs the drop-in with
sudo. - pacsea_
sudo_ timestamp_ drop_ in_ present - What: Detect whether the suggested Pacsea drop-in is already present and readable.
- sudo_
timestamp_ instruction_ lines - What: Build scrollable instruction lines for the sudo timestamp setup wizard.
- sudoers_
defaults_ line - What: Build a single-line
Defaultsentry for a globaltimestamp_timeout. - sudoers_
user_ scoped_ line - What: Build a user-scoped
Defaultsline alternative for the instructions pane. - timestamp_
timeout_ value - What: Map a wizard choice to the
sudoerstimestamp_timeoutvalue.