mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
30 lines
565 B
Plaintext
30 lines
565 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# faillock
|
|
|
|
> Display and modify authentication failure record files.
|
|
> More information: <https://manned.org/faillock>.
|
|
|
|
- List login failures of the current user:
|
|
|
|
`faillock`
|
|
|
|
- Reset the failure records of the current user:
|
|
|
|
`faillock --reset`
|
|
|
|
- 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`
|