[ale] agetty login delay...
Christopher Bergeron
christopher at bergeron.com
Tue Aug 24 21:49:30 EDT 2004
Geoffrey wrote:
> Christopher Bergeron wrote:
>
>> Does anyone know where the sleep/delay function that is called when
>> an invalid password is specified is?
>>
>> I'm looking at util-linux, and I'm trying to recompile agetty to not
>> have a ~5 second delay when I type my password in wrong. I can't
>> seem to find the delay in the code though. I timed the delay at 4.05
>> seconds; but I can't seem to find that in the code.
>>
>> Does anyone have a line number or any idea where I should look to
>> change this? I tried changing the SLEEP_EXIT_TIMEOUT to 0; but no adeu.
>>
>> Any tips are greatly appreciated!
>
>
> You shouldn't need to recompile, this is tuneable. Do you have a
> /etc/login.defs? Look for FAIL_DELAY (I think?) What distro?
LFS 5.1.1 (Linux from scratch). I'm actually building/testing the code
on a Slack 9.1 box though.
It looks like you're absolutely correct! It _is_ FAIL_DELAY in
/etc/login.defs. Mine _was_ set to 3.
Thanks Geoffrey!
Best regards,
CB
More information about the Ale
mailing list