1830855 Members
3083 Online
110017 Solutions
New Discussion

login_retries

 
Bonny Jose_1
Advisor

login_retries

Hello Gurus,
Could you tell me which file should I edit for limiting the maximum login retries in redhat Linux? Or is there any command through which I can control the login characteristics( max login_retry, time intervel between logins etc) of users?
Thank you
Bonny Jose
let us make the world
3 REPLIES 3
U.SivaKumar_2
Honored Contributor

Re: login_retries

Hi,
The file is /etc/login.defs
Entry is LOGIN_RETRIES
If not there add it.
LOGIN_RETRIES 9

(9 retries)
Maximum number of login retries if password fails.

Log out and log in for changes to take effect

regards,
U.SivaKumar
Innovations are made when conventions are broken
Bonny Jose_1
Advisor

Re: login_retries

Hi Sivakumar,
Thanks for the reply. But still its not working. Even after adding(LOGIN_RETRIES 9) in login.defs
Thanks
Bonny
let us make the world
U.SivaKumar_2
Honored Contributor

Re: login_retries

Hi,
try with a reboot

regards,
U.SivaKumar
Innovations are made when conventions are broken