azurelinux icon indicating copy to clipboard operation
azurelinux copied to clipboard

Lock User Accounts After Consecutive Failed Authentications

Open tr1al3x opened this issue 3 years ago • 0 comments

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?

tr1al3x avatar May 24 '22 20:05 tr1al3x