Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 05-05-2009, 01:36 PM   #1
Registered: Jun 2006
Location: TX
Distribution: Debian
Posts: 102

Rep: Reputation: 15
Question password expiration and user account lockout / disable automation

I'm a newbie ah-hoc sysadmin who was cornered into doing some of this work and am a bit overwhelmed.

I have a 90 day expiration set for passwords. How can I do the following?

1) send emails to users at the password expiration warning time?

2) send an email when their password expires

3) lock / disable an account if the password expires

4) send an email to the user and myself when an account is disabled due to pw expiration

thanks for the help.
Old 05-05-2009, 01:50 PM   #2
Registered: May 2007
Location: Chas, SC
Distribution: slackware, gentoo, fedora, LFS, sidewinder G2, solaris, FreeBSD, RHEL, SUSE, Backtrack
Posts: 429

Rep: Reputation: 65
more to come on 1,2,4 but #3 when the password expires it will lock it automatically if you have the expiration set


account, password, sysadmin

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
How to force user to change password after expiration in Linux? ssy68 Linux - Newbie 4 06-30-2011 03:54 PM
Solaris 8 - disable user account noir911 Solaris / OpenSolaris 4 02-18-2009 03:46 AM
account expiration atee Linux - Newbie 11 02-15-2009 11:39 AM
way to set user account expiration Drasylera Linux - Newbie 1 02-05-2009 10:18 AM
Disable passwd change for user account sodhilogin Linux - General 6 09-01-2004 01:43 AM

All times are GMT -5. The time now is 08:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration