The number of sequential failed login attempts when the account becomes locked out. The default is 5.
-o lockout
The number of seconds to lock out an account. The default is 600 seconds.
enable
Enable the security software that locks out accounts.
disable
Disable the security software that locks out accounts. The current settings of tries and lockout are preserved upon the next enable.
settings
Display if the feature is enabled or not, the value for the number of unsuccessful login attempts, and for how long a login should be locked out.
unlock
Unlock all locked-out accounts, or just the specified login if -u login is used.
status
Display the lockout status of all accounts, or just the specified login if -u login is used.
-u login
Unlock or display status on this login only.
-?|-h
Display the help message.
Description
Use userlock to configure the security software used to lock out login accounts where too many unsuccessful login attempts have occurred. This command also unlocks accounts that have been locked out by the security software.