Unix/Linux Go Back    


UNIX and Linux Applications Discuss UNIX and Linux software applications. This includes SQL, Databases, Middleware, MOM, SOA, EDA, CEP, BI, BPM and similar topics.

User account expiration notification

UNIX and Linux Applications


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 10-12-2015
makauser makauser is offline
Registered User
 
Join Date: Jul 2010
Last Activity: 26 July 2017, 5:24 AM EDT
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
User account expiration notification

Dear Concern,

Is there any built in tool/application/command available for Linux user account expiration notification purpose.

With Best Regards,
Md. Abdullah-Al Kauser
Sponsored Links
    #2  
Old Unix and Linux 10-12-2015
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
 
Join Date: Feb 2004
Last Activity: 24 September 2017, 2:29 PM EDT
Location: NM
Posts: 11,184
Thanks: 561
Thanked 1,094 Times in 1,010 Posts
In /etc/login.defsUncomment or create a line:

Code:
PASS_WARN_AGE n

n is the numbers of days to issue an expiry warning to users. The default is 0, the day of expiry.
Sponsored Links
    #3  
Old Unix and Linux 10-13-2015
makauser makauser is offline
Registered User
 
Join Date: Jul 2010
Last Activity: 26 July 2017, 5:24 AM EDT
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Dear Concern,

It will generate a warning message while ssh using particular user. Is there any command/tool/application to generate e-mail without writing script for account expiration notification?

With Best Regards,
Kauser
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to check password expiration date of particular user? Yasin Rakhangi HP-UX 7 02-12-2015 08:06 PM
Password Expiration Notification baraghun UNIX for Advanced & Expert Users 1 09-30-2010 08:07 AM
how to write a shellscript to send a mail alert to the website user based on license expiration time deepu_Shscripts Shell Programming and Scripting 0 09-03-2010 02:55 AM
Expiration date of user account oskard Solaris 9 02-23-2010 02:13 PM
user acct expiration BG_JrAdmin Solaris 6 07-15-2005 11:43 AM



All times are GMT -4. The time now is 03:26 PM.