diff --git a/pages/linux/faillock.md b/pages/linux/faillock.md new file mode 100644 index 000000000..01ce47c08 --- /dev/null +++ b/pages/linux/faillock.md @@ -0,0 +1,16 @@ +# faillock + +> Display and modify authentication failure record files. +> More information: . + +- 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`