LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-22-2012, 03:44 AM   #1
kulshreshtha007
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 pam_tally.so onerr=fail deny=3
auth required pam_tally.so reset

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

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
This might help:
http://www.cyberciti.biz/tips/rhel-c...led-login.html
 
  


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 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


All times are GMT -5. The time now is 08:19 AM.

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