Skip to main content

Module sudo_timestamp_setup

Module sudo_timestamp_setup 

Source
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 Defaults entry for a global timestamp_timeout.
sudoers_user_scoped_line
What: Build a user-scoped Defaults line alternative for the instructions pane.
timestamp_timeout_value
What: Map a wizard choice to the sudoers timestamp_timeout value.