HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- trusted system info manipulation
Operating System - HP-UX
1825643
Members
3537
Online
109685
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
09-07-2001 09:54 AM
09-07-2001 09:54 AM
trusted system info manipulation
I am a sys admin running hpux 10.20 and hpux 11.0, both in Trusted Systems mode. I need to create utilities for verifying and changing passwords, and for determining the number of days left until password expiration. I was able to get the password verification working using "getprpwuid", and comparing the "fd_encrypt" field with the encrypted version of the password passed in to my program (using the salt from fd_encrypt). I was able to get password changing accomplished by encrypting the new password (with a randomly generated salt) and storing the new encrypted password in the "fd_encrypt" field, followed by performing a "putprpwnam". I then run the system command "modprpw -v " for hpux 10.20 or "modprpw -l -v " for hpux 11.0. However, from the man pages and searching the ITRC I have not been able to determine how to extract the number of days until password expiration. The "fd_expire" field shows zero. I'd really appreciate any help, but a working C code snippet would be fabulous.
From what I've seen from postings on the ITRC it certainly sounds like a much more detailed reference about manipulation of the trusted systems database would help A LOT of sys admins. Whadyasay HP? : )
From what I've seen from postings on the ITRC it certainly sounds like a much more detailed reference about manipulation of the trusted systems database would help A LOT of sys admins. Whadyasay HP? : )
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