From 3ce3531cb0466c350d2f5c6057d61fa348ffe0f5 Mon Sep 17 00:00:00 2001 From: Martin Matous <18654729+mmatous@users.noreply.github.com> Date: Thu, 14 Apr 2022 02:49:07 +0200 Subject: [PATCH] faillock: add page (#7971) Signed-off-by: Martin Matous Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Co-authored-by: Muhammad Falak R Wani --- pages/linux/faillock.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/linux/faillock.md 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`