LinuxQuestions.org
Help answer threads with 0 replies.
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 10-18-2011, 03:02 AM   #1
anusuya_k
LQ Newbie
 
Registered: Oct 2011
Posts: 1

Rep: Reputation: Disabled
Account locked by pam_tally does not reflect in passwd -S


Hi,
I was able to configure pam_tally on RHEL 5.5/6 and verify that account gets locked after 'n' unsuccessful attempts through different auth mechanisms like su, sshd, login etc.

I can also see the output of pam_tally or faillog that reflects the number of failed login attempts.

But when I try passwd -S <user name> after an account is locked through use of pam_tally, it does not relect account locked status.

see below for example output of faillog as well passwd -S after an account is locked using pam_tally
# faillog -u testuser1
Login Failures Maximum
testuser1 4 0

# passwd -S testuser1
testuser1 PS 10/17/2011 0 99999 7 -1

if I explicity lock a user using passwd -l option then the output of passwd -S reads as below
# passwd -S testuser1
testuser1 LK 10/17/2011 0 99999 7 -1

Can any one tell me if pam_tally and passwd lock options understand each other, if yes, is there any other configuration I have to do..

Thanks
ADK
 
  


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
Need some help on bash script to compare /etc/passwd to locked users rhbegin Linux - Software 8 11-11-2009 12:55 PM
Can I permanently lock a user account with pam_tally ? dmak168 Linux - Security 2 09-04-2008 02:40 PM
Locked-down user account lukeprog Ubuntu 6 01-28-2006 11:21 AM
Successful login from locked screen causes pam_tally to increment. Why? mzmyewski Linux - Security 2 03-03-2005 09:25 AM
Passwd files corrupt - I am locked out. Need Help!!! cloy Linux - Newbie 4 02-16-2001 04:25 PM

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

All times are GMT -5. The time now is 02:10 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