Module faillock

Module faillock 

Source
Expand description

Faillock status checking and configuration parsing.

Structs§

FaillockConfig
What: Faillock configuration values.
FaillockStatus
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.