azurelinux
azurelinux copied to clipboard
Lock User Accounts After Consecutive Failed Authentications
Hello Mariner, You can configure the above functionality in the /etc/pam.d/system-auth and /etc/pam.d/password-auth files, by adding the entries below to the auth section.
I am using mariner 2.0 on a VM. root [ /etc/pam.d ]# ls chage chpasswd groupadd groupmod other runuser-l sudo system-password userdel chfn chsh groupdel login passwd sshd system-account system-session usermod chgpasswd crond groupmems newusers runuser su system-auth useradd
There is no "password-auth " file in the directory. How do I go about configuring lockout policy? Is password-auth= system-password?