LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-08-2005, 08:30 AM   #1
env
LQ Newbie
 
Registered: Mar 2005
Distribution: RHE Freebsd Solaris
Posts: 8

Rep: Reputation: 0
Linux Console login


Well itīs not a question of great importance but,

have you ever wondered why after typing on the login screen in linux the wrong password the user have to wait to respawn the console. For instance you type your username then a wrong password and there are a few seconds until you get the new query for a userīs login.
And why on Unix there is no pause between?
 
Old 03-08-2005, 09:13 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389
Hi,

The time to wait before another attempt after a login failure is something that can be configured. Take a look at the /etc/login.defs file and search for the FAIL_DELAY option.

Hope this clears things up a bit.
 
Old 03-08-2005, 10:26 AM   #3
env
LQ Newbie
 
Registered: Mar 2005
Distribution: RHE Freebsd Solaris
Posts: 8

Original Poster
Rep: Reputation: 0
Hi,

thanks for the reply.
As you said - the /etc/login.defs. Well i do find it on my Fedora Core 3 but there is on line with FAIL_DELAY or anything else referring to it. Maybe itīs from the Distro... On which distro had you saw the feaure?
Do you also know how this works on UNIX? Or a document where such information is provided?

And one more last thing, is there difference if you are logging locally or remote?

LG
 
Old 03-08-2005, 11:03 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389
Hi again,

Did you try setting this variable anyway?

I've seen it used by: LFS, Slackware and Suse (probably more, but these I could check ).
I must admit that not all manpages do mention this (SuSe does, LFS/Slackware do not), but even if the manpage does not mention this variable, it does work (at least on LFS and Slackware).

Maybe Fedora uses PAM to do this (although I doubt it).

Bottom line: Just give it a try by putting the line in your login.defs file and check if it works.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cant login to console esgaroth Fedora 1 01-05-2005 09:11 PM
Unable to login via console bug1124 Linux - General 1 12-17-2004 06:50 PM
how to switch to console login? miica Linux - Newbie 5 10-30-2003 10:45 PM
Is it possible to auto login from console rrautens Linux - Newbie 10 10-15-2003 09:30 AM
I tried to login as console only on mandrake 8.0, but I must not be doing it right 2016 Linux - General 7 01-25-2002 10:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:42 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration