mirror of https://github.com/CrimsonTome/tldr.git
17 lines
347 B
Markdown
17 lines
347 B
Markdown
|
# faillock
|
||
|
|
||
|
> Display and modify authentication failure record files.
|
||
|
> More information: <https://manned.org/faillock>.
|
||
|
|
||
|
- List login failures of all users:
|
||
|
|
||
|
`sudo faillock`
|
||
|
|
||
|
- List login failures of the specified user:
|
||
|
|
||
|
`sudo faillock --user {{user}}`
|
||
|
|
||
|
- Reset the failure records of the specified user:
|
||
|
|
||
|
`sudo faillock --user {{user}} --reset`
|