HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Password Aging Warning Notification Message to be ...
Operating System - HP-UX
1833590
Members
3969
Online
110061
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2002 07:17 AM
04-19-2002 07:17 AM
Password Aging Warning Notification Message to be sent to Exchange Mailbox
Hi All
I know personally that when your password is about to expire, you will receive a message at your terminal/PC upon login. What I would like to see is this same message sent to Exchange mailbox via "mail -s or Sendmail".
I know that mail aliases will need to be created which will include outside mailboxes but
Where is this source file that the system calls to generate this warning message and it is configurable to add in the external mailing option.
If not, does anyone have a script (shell or Perl) they are willing to share that does this same tasking?
This will eliminate the user community complaining that they did not see their warning message. By having this sent to their mailbox will be additional proof that this warning messages actually exist.
Thanks for all your help and I look forward to your replies
Steven Gabriel
I know personally that when your password is about to expire, you will receive a message at your terminal/PC upon login. What I would like to see is this same message sent to Exchange mailbox via "mail -s or Sendmail".
I know that mail aliases will need to be created which will include outside mailboxes but
Where is this source file that the system calls to generate this warning message and it is configurable to add in the external mailing option.
If not, does anyone have a script (shell or Perl) they are willing to share that does this same tasking?
This will eliminate the user community complaining that they did not see their warning message. By having this sent to their mailbox will be additional proof that this warning messages actually exist.
Thanks for all your help and I look forward to your replies
Steven Gabriel
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2002 10:33 PM
05-06-2002 10:33 PM
Re: Password Aging Warning Notification Message to be sent to Exchange Mailbox
Hi Steven,
I've got a similar requirement and found some useful stuff by searching the forums. I've attached a perl script originally posted by Clay. I haven't had a chance to do anything with it yet. The original question and answere were as follows:-
On April 05, 2002 07:43 AM GMT Michael Kan asked: How to determine number of days left till password expire?
A. Clay Stephenson replied:
You were fortunate in that I already had a Perl script to do this. Note that in a non-trusted environment the expiration is encoded as the number of weeks left in base64. Man 4 passwd for details.
If you execute pwwarn.pl user1 [user2 ...], it will output a line for each user like this
user1 4096
user2 2
user3 0
Where the number is the number of weeks left. 4096 (64 * 64) indicates that this passwd does not expire.
I've got a similar requirement and found some useful stuff by searching the forums. I've attached a perl script originally posted by Clay. I haven't had a chance to do anything with it yet. The original question and answere were as follows:-
On April 05, 2002 07:43 AM GMT Michael Kan asked: How to determine number of days left till password expire?
A. Clay Stephenson replied:
You were fortunate in that I already had a Perl script to do this. Note that in a non-trusted environment the expiration is encoded as the number of weeks left in base64. Man 4 passwd for details.
If you execute pwwarn.pl user1 [user2 ...], it will output a line for each user like this
user1 4096
user2 2
user3 0
Where the number is the number of weeks left. 4096 (64 * 64) indicates that this passwd does not expire.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP