Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 06-24-2010, 05:58 PM   #1
LQ Newbie
Registered: Jun 2010
Posts: 3

Rep: Reputation: 0
Lock after invalid login attempts, session lock, minimum password length

Hello all,

If anyone has time, I have a few questions:

How do I do the following in Linux. We are using Red Hat and Oracle Enterprise Linux, which is based on Red Hat too.

1. How to lock the account after a few (like 3) invalid password attempts?

2. How do you lock a screen after 30 minutes of inactivity?

3. How do you require a minimum password length when changing passwords or creating a new account?

Thanks in advance for any help.
Old 06-24-2010, 06:36 PM   #2
Senior Member
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
1. pam_tally / pam_tally2
2. vlock ( terminals )
3. /etc/login.defs - PASS_MIN_LEN



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
Account lock after failed login attempts alfonsosg Linux - Security 5 08-03-2010 08:24 AM
lock user account after failed login attempts with FC 10 hv905c Linux - Security 1 05-18-2009 09:44 PM
lock password after failed attempts... manudath Linux - Security 2 04-28-2005 11:55 AM
Lock account after successive login attempts herrmag Linux - Newbie 1 02-03-2005 07:10 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 06:57 AM.

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