utorok 7. decembra 2021

pam_tally2 =faillock on RHEL8

Sometimes we have a problem with blocking users. Do you remember on pam_tally2? Let's try command faillock


Linux use PAM policy for authentication. Some users are blocked and you can see via command pam_tally2.


On RHEL 8 (and of course Centos8) is command faillock. 


[root@localhost ~]# cat /etc/redhat-release

CentOS Linux release 8.5.2111

[root@localhost ~]#



[root@localhost ~]# faillock

[root@localhost ~]#


to check 


 faillock --user pondelok


to reset user


faillock --user pondelok --reset 


or


# to reset all users

faillock --reset


read this: https://www.tecmint.com/lock-user-accounts-after-failed-login-attempts-in-linux/

Žiadne komentáre:

Zverejnenie komentára