Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Linux Security > Inform user of locked account

Forgot Password?
 Linux Security   Discussion about keeping your machines secure, and the crackers out.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 06-23-2009   #1 (permalink)
Just Joined!
 
Join Date: Jun 2009
Posts: 2
Inform user of locked account

Hello,

I'm on Fedora core 8 and I recently finished configuring pam to deny access after a certain number of failed login attempts.

My pam configuration works just fine (suprisingly), but when it locks the account you don't get any message that this has occured. When you try to enter the password again you get the authorization failure, but the user is never informed that the account has been locked.

Does anyone have any ideas on how to address this? I'd appreciate the help.
jpeg is offline  


Reply With Quote
Old 06-29-2009   #2 (permalink)
Linux User
 
vickey_20's Avatar
 
Join Date: Mar 2009
Location: Mumbai, India
Posts: 493
can you post the configuration file you have tweaked , so that we get a fair idea . form where actaully the user is being disabled and what options are available to infrom the user about account expiration.
__________________
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
vickey_20 is offline   Reply With Quote
Old 06-30-2009   #3 (permalink)
Just Joined!
 
Join Date: Jun 2009
Posts: 2
vickey_20,

Thanks for the response.

All I did was change the system-auth symlink from the /etc/pam.d/system-auth-ac file to a local config file (It had the same rules in it as the system-auth-ac). Then I added the blocking rule:

Code:
auth  required  pam_tally.so  onerr=fail  file=/var/log/faillog  audit  deny=3  per_user
So the blocking is being done by the pam_tally module.
jpeg is offline   Reply With Quote
Old 07-01-2009   #4 (permalink)
Linux User
 
vickey_20's Avatar
 
Join Date: Mar 2009
Location: Mumbai, India
Posts: 493
sorry friend but I don't know much about this module but anyway here's a good link that will surely help you 6.32.pam_tally - login counter (tallying) module
__________________
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
vickey_20 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 06:35 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2