[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



> 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





</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00637" href="msg00637.html">[ale] agetty login delay...</a></strong>
<ul><li><em>From:</em> christopher at bergeron.com (Christopher Bergeron)</li></ul></li>
<li><strong><a name="00639" href="msg00639.html">[ale] agetty login delay...</a></strong>
<ul><li><em>From:</em> esoteric at 3times25.net (Geoffrey)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00641.html">[ale] FRYS IS OPEN IN ATLANTA!!!</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00643.html">[ale] FRYS IS OPEN IN ATLANTA!!!</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00639.html">[ale] agetty login delay...</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00722.html">[ale] agetty login delay...</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00642"><strong>Date</strong></a></li>
<li><a href="threads.html#00642"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>