Expand description
Faillock status checking and configuration parsing.
Structs§
- Faillock
Config - What: Faillock configuration values.
- Faillock
Status - What: Faillock status information for a user.
Functions§
- calculate_
remaining_ lockout_ minutes - What: Calculate remaining lockout time in minutes based on last failed attempt timestamp.
- check_
faillock_ status - What: Check faillock status for a user.
- get_
lockout_ info - What: Check faillock status and calculate lockout information for display.
- get_
lockout_ message_ if_ locked - What: Check if user is locked out and return lockout message if so.
- parse_
faillock_ config - What: Parse faillock configuration from
/etc/security/faillock.conf.