- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Password expiration procedure
Categories
Company
Local Language
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
Forums
Discussions
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
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО09-04-2003 01:15 AM
тАО09-04-2003 01:15 AM
Is there a way to modify the password expiration notice for HPUX? after the C2 conversion, users were confused that once their password has been expired, the system prompts them to enter the old password, supposedly you just re-enter what you have entered before the message "Your password has been expired".. majority of my users were mistakenly using their previous password and not the password they have entered before it expires. I noticed every first week of the month, i encounter a lot of enabling request form users.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2003 03:06 AM
тАО09-04-2003 03:06 AM
SolutionYou might want to modify /etc/issue and add an explanation of what happens when the password changes so the user understands.
Standard behavior is it prompts for the current password, then does the old password thing like you are seeing.
The wording can be modified.
You can try a "Tip of the day" notice to users and modify any user guide you hand out.
In the end, I've found that no matter how much money the user makes or how smart they supposedly are password change will generate calls. Its a fact of life.
SEP
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
тАО09-07-2003 05:55 PM
тАО09-07-2003 05:55 PM
Re: Password expiration procedure
How will I enable the warning message so that user may know when his/her password would expire? by the way, the version is HPUX 11.00. And also, you mentioned that I can modify the wording of "OLD PASSWORD" I am planning to change it to "PLEASE RE-ENTER YOUR PASSWORD".
Thanks again SEP. Your advise does really help. More power to you.
Regards,
Teng
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2003 06:40 PM
тАО09-07-2003 06:40 PM
Re: Password expiration procedure
However, there is a way to notify your users (don't ever use /etc/issue since it is displayed BEFORE the user logs in) about an upcoming password expiration. The command /usr/lbin/getprpw will return just about anything you would like to know about a specific user's password and login features. However, it is a super-user command and is found in the 'backend' directory /usr/lbin which means that it is subject to changes without warning. So you would have to run the command in cron once a day to populate a simple file with the user's login and the expiration date. The cron job should also compute the number of days before expiration using the caljd script mentioned so often here in the HP-UX forums.
Once this file is created on a regular basis, modify /etc/profile to find the user in the file, check to see that the number of days until expiration is less than 5 (or 10?) and warn the user as they login. This assumes that user perform a 'normal' telnet login that runs /etc/profile on login.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2003 06:42 PM
тАО09-07-2003 06:42 PM
Re: Password expiration procedure
It can be easily accomplished by using SAM. Through command line, use "modprpw" for individual account settings and "modprdef" for systemwide settings. For ex., to unexpire the user accounts after the conversion use the command
/usr/lbin/modprdef -m "exptm=0"
There is an option available to warn the users before the expiry. Following command will warn (expwarn) the users 20 days before the expiration period (exptm) say 100 days.
/usr/lbin/modprdef -m "exptm=100,expwarn=20"
Look at docs.hp.com website for man page of getprpw, getprdef, modprpw, modprdef commands.
-Sri