Files
cheatsheet-tldr/tldr/linux/faillock
2024-10-15 00:17:18 +00:00

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`