HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- where are passwd aging parameters stored?
Operating System - HP-UX
1837195
Members
2453
Online
110115
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
Go to solution
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-09-2005 10:29 AM
02-09-2005 10:29 AM
If I do a passwd -s to view the aging info for a user's password it shows a date, the minimum # of days required before password change, and the # of days the password is good for. I assume this is all stored in a file somewhere, but haven't been able to find it. Also, what does the date listed in the passwd -s output correlate to?
Thanks in advance.
Thanks in advance.
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2005 10:44 AM
02-09-2005 10:44 AM
Solution
In an untrusted system, the aging paramters are stored as 4 base64-digits in the passwd hash field. They actually represent weeks so the actual resolution is every 7 days beginning on a Thursday because 1-Jan-1970 was a Thursday. They are separated from the hash itself by a comma. Man 4 passwd for details.
Trusted systems store the values in seconds and are stored for each user under /tcb/files/auth/[a-z]/username. These values (if defined for the individual user) override any system-wide defaults defined in /tcb/files/auth/system/defaults.
Trusted systems store the values in seconds and are stored for each user under /tcb/files/auth/[a-z]/username. These values (if defined for the individual user) override any system-wide defaults defined in /tcb/files/auth/system/defaults.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2005 12:37 PM
02-09-2005 12:37 PM
Re: where are passwd aging parameters stored?
Thanks (slaps head) I glanced right over that in the man page.
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