K kpedersen Dec 21, 2010 #1 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
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
B Beastie Dec 21, 2010 #2 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);
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);
OP K kpedersen Dec 21, 2010 Thread Starter #3 damn, it looks like it is hard coded into it. what a pain. Thanks Beastie.