Jump to content
xisto Community
Sign in to follow this  
jedipi

Locking Accout After Login Failed In Linux setup the policy on redhat es3

Recommended Posts

I am asking this question for my friend.he wants to setup the policy on his linux server (redhat es3):when user tried to login the server 5 times but failed, the account will be locked.He tried to edit /etc/pam.d/login file to below config%PAM-1.0auth required /lib/security/pam_securetty.soauth required /lib/security/pam_stack.so service=system-authauth required /lib/security/pam_nologin.soauth required /lib/security/pam_tally.so onerr=fail no_magic_rootaccount required /lib/security/pam_stack.so service=system-authaccount required /lib/security/pam_tally.so deny=5 no_magic_root resetpassword required /lib/security/pam_stack.so service=system-authsession required /lib/security/pam_stack.so service=system-authsession optional /lib/security/pam_console.soit works in my redhat 9..but does not work in his ES3...any idea about that? Thank you

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.