LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-18-2003, 03:22 PM   #1
ry
Member
 
Registered: Apr 2001
Location: Earth
Distribution: Red Hat, Fedora Core
Posts: 44

Rep: Reputation: 15
limiting the login attempts


Hello,

Can you help me to limit the login attempts to 3 attempts only, then after the 3 failed attempts, the username will be locked up. And only the root will be able to activate the username again.

please include the procedures....

thanks.......
 
Old 02-18-2003, 04:31 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Hmmmm ... how is root going to log in
when someone attempts to log in thrice
as root and fails? Or, why would it be
reasonable for root to have more than
3 login-attempts? ;)

I'd just recommend to set the following
values in
/etc/login.defs

FAIL_DELAY 8
LOGIN_RETRIES 3
PASS_MIN_LEN 12

:)

Which will prolong the time between
a failed login and the next prompt to 8
seconds, and if the login-attempt is remote,
close it down after three attempts and force
users to make more complex passwords...

Cheers,
Tink
 
Old 02-19-2003, 11:29 AM   #3
ry
Member
 
Registered: Apr 2001
Location: Earth
Distribution: Red Hat, Fedora Core
Posts: 44

Original Poster
Rep: Reputation: 15
you have a point there....thanks,,

anyway,,,im just playing around with my Red Hat...and trying out some things about security.....

I've already tried your suggesttion and seems that it doesnt work at all.......do you have any other ideas...

thanks....
 
  


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
SSH login attempts Capt_Caveman Linux - Security 225 11-07-2009 09:55 AM
Limiting Login Attempts chesp3 Linux - Security 6 05-16-2005 09:18 PM
Login attempts phatboyz Linux - Security 1 10-11-2004 01:57 PM
vsftp - limit login attempts bandersson Linux - Security 0 01-01-2003 04:37 PM
slow login attempts Syncrm Linux - General 1 05-21-2002 09:05 AM

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

All times are GMT -5. The time now is 01:03 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
Open Source Consulting | Domain Registration