LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-06-2011, 07:46 AM   #1
thelink123
Member
 
Registered: Aug 2008
Location: India, Kerala
Distribution: openSUSE 11
Posts: 46

Rep: Reputation: 15
Thumbs up Telnet : Configure the login retry count


Hi,

I have two servers running Linux 2.6.9 kernel.

When i telnet to server1 , the telnet will be disconnected only after 3 login failures. While, when i telnet to server2, telnet will be disconnected after the first login failure. I expect server2 to behave the same way as server1 when telnet is executed.

Kindly tell me where i should tweak my servers so that i could achieve what i expect.

Thanks,
TheLink
 
Old 01-07-2011, 07:37 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,937

Rep: Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330
Hi,

Have a look at /etc/login.defs for LOGIN_RETRIES

Regards
 
Old 10-24-2011, 12:54 PM   #3
rosect
LQ Newbie
 
Registered: Oct 2011
Posts: 19

Rep: Reputation: Disabled
Hi, Bathory,

I tried both LOGIN_RETRIES and LOGIN_TIMEOUTS in /etc/login.defs on my fc14 machine. Neither of them seems to work. LOGIN try always terminates the connection at the 4th try. Any suggestions? Thank you.

- rosect

Last edited by rosect; 10-24-2011 at 12:56 PM.
 
Old 10-24-2011, 02:17 PM   #4
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,937

Rep: Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330
Hi,

Since you're using fc14, those variables are overwritten by pam.
You can open the file /etc/pam.d/system-auth, look for the line containing pam_cracklib (similar to the following):
Quote:
password requisite pam_cracklib.so try_first_pass retry=3
and change the retry number to your liking

Regards
 
1 members found this post helpful.
  


Reply

Tags
configure, linux, telnet


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
script to keep 'count' of failed login attempts hattori.hanzo Linux - Newbie 7 04-02-2008 10:23 PM
How to Delete my System with login fail count nusz Linux - Security 2 09-03-2007 07:55 PM
How to configure SLES9 to permit remote telnet login coffeebreak Suse/Novell 1 09-15-2005 09:46 PM
pam_mount login count doesn't decrement beaucoup Linux - Security 0 08-04-2005 11:08 PM
ssh failed login count - where is it? mbhenry Linux - Security 1 11-13-2003 11:35 AM


All times are GMT -5. The time now is 09:43 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration