Why is pam_faildelay.so not taking effect if user clicks cancel button?
by yyilmaz from LinuxQuestions.org on (#5RF3H)
Hi all, there is a problem to validate PAM faildelay rule on CentOS 7 Server with GUI installation. I have added one minute delay between failed login attempts. The first two lines in system-auth-ac and password-auth-ac files are as below:
Code:auth required pam_env.so
auth required pam_faildelay.so delay=60000000I have performed a test scenario as below:
- User enters wrong password
Now, signin button and password input field are inactive and login animation will be continuing during one minute ( I saw that login animation has ended after one minute if I have been waiting)
- User clicks the cancel button for example after ten seconds
Now, user selection screen is shown again (gnome login screen)
- User is selected again and enters wrong password
pam_faildelay.so is not taking effect if user clicks cancel button. What is the problem ? Are there any other pam files to edit in order to apply faildelay rule succesfully?
Thanks in advance
Code:auth required pam_env.so
auth required pam_faildelay.so delay=60000000I have performed a test scenario as below:
- User enters wrong password
Now, signin button and password input field are inactive and login animation will be continuing during one minute ( I saw that login animation has ended after one minute if I have been waiting)
- User clicks the cancel button for example after ten seconds
Now, user selection screen is shown again (gnome login screen)
- User is selected again and enters wrong password
pam_faildelay.so is not taking effect if user clicks cancel button. What is the problem ? Are there any other pam files to edit in order to apply faildelay rule succesfully?
Thanks in advance