mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-17 00:49:18 +00:00
Update cheatsheets
This commit is contained in:
21
linux/faillock
Normal file
21
linux/faillock
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
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 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`
|
||||
Reference in New Issue
Block a user