HPE GreenLake Administration
Operating System - Linux
1827452
Members
4538
Online
109965
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
02-21-2005 06:26 AM
02-21-2005 06:26 AM
Mail
Hi,
I need to know how can I send a mail when the user password expire?
The password expires after 60 days and I change the password before this period.
Thank`s
Elizangela
I need to know how can I send a mail when the user password expire?
The password expires after 60 days and I change the password before this period.
Thank`s
Elizangela
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2005 09:50 AM
02-21-2005 09:50 AM
Re: Mail
mail via port 25, smtp, does not by default require a login.
If your sendmail daemon is running and the server is configured to relay mail from the source IP address (the pc or server sending the mail) then the mail will go out regardless of whether the user account is expired or not.
SEP
If your sendmail daemon is running and the server is configured to relay mail from the source IP address (the pc or server sending the mail) then the mail will go out regardless of whether the user account is expired or not.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2005 10:12 AM
02-21-2005 10:12 AM
Re: Mail
Sorry,
I will explain better.
I have many users that expires after 90 days.
My /etc/shadow:
Fernae1::12835:0:90:3:0::
so, I need to change the Fernae1`s password before exceed the 90 days, becouse if password expires the user couldn`t logon in the application.
My /var/log/messages
Account Fernae1 was disabled
My question is:
How can I configure my Operation System for alert me that the password is near to expire?
Thank`s
I will explain better.
I have many users that expires after 90 days.
My /etc/shadow:
Fernae1::12835:0:90:3:0::
so, I need to change the Fernae1`s password before exceed the 90 days, becouse if password expires the user couldn`t logon in the application.
My /var/log/messages
Account Fernae1 was disabled
My question is:
How can I configure my Operation System for alert me that the password is near to expire?
Thank`s
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2005 11:07 AM
02-21-2005 11:07 AM
Re: Mail
You need to run a report parsing the data in the /etc/shadow.
You can use awk for field separation. awk -F:
I'm staring at the /etc/shadow file and not seeing how to turn that data into something usable.
perl -MPOSIX -e 'print POSIX::strftime("%m%d%Y", localtime(time - 86400));'
This is how its done in HP-UX.
Untested, but it may provide some insight. Also, this may have been done by others, so consider doing a search of itrc forums.
SEP
You can use awk for field separation. awk -F:
I'm staring at the /etc/shadow file and not seeing how to turn that data into something usable.
perl -MPOSIX -e 'print POSIX::strftime("%m%d%Y", localtime(time - 86400));'
This is how its done in HP-UX.
Untested, but it may provide some insight. Also, this may have been done by others, so consider doing a search of itrc forums.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP