[TriLUG] How do I change the allowed number of login attempts from 3 to 1
Ralph Blach
blach013 at blach.dnsalias.org
Tue Mar 9 14:51:03 EST 2004
John,
I tried this and did not work. ssh still trys three times before fails.
H'mmmm
I know this should be setable.
Thanks
Chip
Jon Carnes wrote:
> On Tue, 2004-03-09 at 09:18, Ralph Blach wrote:
>
>>I am running Redhat 9.0 on am amd x86. Its a pretty basic system
>>As the main login shell I run sshd, with ftp and telnet disabled.
>>
>>I know this is basic, but I looked for an hour on this and could not find it
>>How do I change the number of login tries from 3 before a time out to 1.
>>
>>It would also be nice to change the time between tries to so.
>>
>>Thanks
>>
>>Chip
>
>
> /etc/pam.d/system-auth
> password required /lib/security/$ISA/pam_cracklib.so retry=3
>
> Reading the PAM documents will take a good chunk of your time, but it is
> worth the chunk if such things interest you... :-)
>
> I also suggest you look at /etc/security for some really nifty controls
> on login times etc...
>
> HtH - Jon Carnes
>
More information about the TriLUG
mailing list