Skip to main content

Module doas_persist_setup

Module doas_persist_setup 

Source
Expand description

Helpers for the optional doas persist setup wizard.

Constants§

DOAS_PERSIST_INSTRUCTION_VIEWPORT_LINES
Visible instruction lines in the doas persist wizard (scroll viewport height).

Functions§

doas_conf_has_persist_rule
What: Check whether a parsed doas.conf body has at least one active permit persist rule.
doas_persist_instruction_lines
What: Build scrollable instruction lines for the doas persist setup wizard.
doas_persist_snippet
What: Build a recommended doas.conf persist snippet for the selected profile.
pacsea_doas_persist_configured
What: Detect whether the system doas.conf appears configured with a persist rule.
validation_commands
What: Build shell commands for validating doas policy configuration.