Login prompt timout

Hello,

When running (as root) /usr/bin/login, after about 1 minute it exits. Is there any way to change or turn off this timeout limit?

Best Regards,

Karsten
 
Have you checked the source (/usr/src/usr.bin/login/login.c)?

Lines 110-114:
Code:
/*
 * This bounds the time given to login.  Not a define so it can
 * be patched on machines where it's too small.
 */
static u_int		timeout = 300;
Seems like it's 5 minutes.

Lines 186,187:
Code:
(void)fprintf(stderr, "Login timed out after %d seconds\n", timeout);
 
Back
Top