Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-22-2012, 03:44 AM   #1
LQ Newbie
Registered: Apr 2012
Location: bhopal
Distribution: for knowledge gaining
Posts: 1

Rep: Reputation: Disabled
Exclamation how to lock user after 3 attempt

Hi I am using the RHEL5. I want user lock after 3 consecutive attempt of wrong password. I have made the entry in /etc/pam.d/system-auth is

auth required onerr=fail deny=3
auth required reset

But this is not working. can anybody help me to solve this issue.
Old 05-22-2012, 07:43 AM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
This might help:


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
Restrict User's login attempt abhay1983 Linux - Server 10 02-29-2012 07:28 AM
root acount lock out in 1st fail attempt. opsagar123 Linux - Server 1 01-11-2012 12:54 AM
Disable lock session (lock screen) when switch user in KDE 4.x Murz Linux - Desktop 4 12-01-2010 09:28 AM
Created user in Webmin - how to lock that user in specified directory? guest Linux - Security 1 04-18-2009 08:21 PM
Another attempt to get user rw privileges for samba shares Jeebizz Slackware 10 01-12-2006 12:37 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:24 PM.

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