Authentication policy

Session lifetime, idle timeout, and login-failure lockout. Stored in /var/db/ogmaprotect/auth/auth.yaml and applied without a restart. A box with no policy uses the defaults (8 hour session, no idle timeout, 5 failures, 15 minute window). The system refuses a policy that could lock administrators out (too-short session or too-aggressive lockout).

{{#LOAD_ERROR}}
{{LOAD_ERROR}}
{{/LOAD_ERROR}} {{#ERROR}}
{{ERROR}}
{{/ERROR}} {{#FLOOR_HINT}}
Refused (anti-lockout): {{FLOOR_HINT}}
{{/FLOOR_HINT}} {{#FLASH}}
{{FLASH}}
{{/FLASH}}
{{#WRITE}}

Absolute lifetime of a sign-in session. The login cookie expires with it.

Sign out a session after this much inactivity. 0 disables the idle timeout (absolute lifetime only). When set, must be at least 5 minutes and not exceed the session lifetime.

Number of failed sign-ins (within the window below) that triggers a lockout. The minimum is 3 so a fat-fingered password cannot lock you out.

Failed sign-ins are counted over this rolling window.

What a lockout keys on. user_ip (recommended) resists both targeted-account guessing and single-source spraying without one source locking out a username globally.

{{/WRITE}}