LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 06-18-2014, 07:50 AM   #1
derive
Member
 
Registered: Apr 2014
Distribution: debian
Posts: 42

Rep: Reputation: Disabled
login timeout - how to increase?


We got a pam module which in some rare, network related cases generates very slow timeouts. The problem is that in these cases the login timed out, so we can't login with local credentials (there is the standard unix pam after the first pam module).
Is there any way to raise console login timeout to be more than the network timeouts?
I tried to increase that in getty's parameter, but I have to say the manpage is very accurate " -t, --timeout timeout
Terminate if no user name could be read within timeout seconds".
That timeout is really for entering username, and not for auth

Also this question is in my mind when I got a system overloaded, and I can't login on console even wit the standard pam configuration (to kill buggy processes) when the system is so slow, caused by timeout (in these situations I have to wait for oomkiller to kill processes when they run out of mem and swap).

I think it should be a "/bin/login" issue, because on those heavy loaded servers ssh login succeeds when console logins not (and ssh is not using /bin/login as a default now) ... but there was no exact tests...
 
Old 06-23-2014, 12:33 PM   #2
Andy Alt
Member
 
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware64-stable, Debian64 stable, LFS 7.1
Posts: 521

Rep: Reputation: 165Reputation: 165
I suggest looking at /etc/login.defs (and it's always good to first make a backup before editing).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Skip gdm3 login after timeout KlaasJan Linux - Networking 1 10-18-2013 02:38 AM
login timeout in linux tanveer Linux - Newbie 2 02-13-2009 11:27 PM
increase timeout value boot menu jundcb Linux - Newbie 47 08-22-2008 05:06 AM
login timeout tobyl LQ Suggestions & Feedback 3 06-28-2003 03:34 PM
login timeout. sarin LQ Suggestions & Feedback 3 07-19-2002 09:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration