LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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
 
LinkBack Search this Thread
Old 11-25-2005, 01:32 PM   #1
jcivello
LQ Newbie
 
Registered: Nov 2005
Posts: 1

Rep: Reputation: 0
detecting expiring passwords


I am trying to find a perl script for linux that detects expiring or expired passwords and emails user with notification or warning. I know there are scripts out there was hoping someone would be able to post. No sense in re-inventing the wheel. I have shadow suite installed.
 
Old 12-02-2005, 08:56 PM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora, FreeBSD
Posts: 3,925
Blog Entries: 5

Rep: Reputation: Disabled
I am sure there is some way you can work with the PAM modules nicely (using PERL, python, etc.) to get this info. But another way to find it out is with chage.

Code:
chage -l user_name
Note that only root can list aging information for other users. You could parse the output and do some comparisons for the notification.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sync MySQL passwords with local account passwords? turbine216 Linux - Software 2 02-18-2005 03:15 AM
Expiring CA ?? michael_util Linux - Security 1 11-19-2004 03:14 PM
expiring users acid_kewpie LQ Suggestions & Feedback 10 04-15-2004 01:13 PM
expiring passwords in kerberos with AD acb67 Linux - Security 1 10-31-2003 01:22 PM
account expiring zovres Linux - Newbie 1 09-16-2003 06:57 PM


All times are GMT -5. The time now is 03:46 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration