- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Password history inquiry in Trusted System
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
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
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
12-03-2004 02:13 AM
12-03-2004 02:13 AM
Password history inquiry in Trusted System
I am trying to figure out from C how to query the password history in a Trusted system in HP-UX. In Tru64, using getprpwent() the espw_field structure has a char *fd_pwdict which is a pointer to the password history dictionary, which you can use to check if the new password doesn't match the history rules. However, in HP-UX using getprpwent() the pr_field structure doesn't seem to have any element to access the password history for the user.
Any ideas are appreciated.
Thanks,
Juan Miguel Rodriguez
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2004 02:25 AM
12-03-2004 02:25 AM
Re: Password history inquiry in Trusted System
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=62625
May help
Steve Steel
- Tags:
- broken URL link
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2004 02:29 AM
12-03-2004 02:29 AM
Re: Password history inquiry in Trusted System
thanks. I had already looked at that, but it provides no info on how to check the password history.
Juan Miguel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2004 02:44 AM
12-03-2004 02:44 AM
Re: Password history inquiry in Trusted System
Is it set up
Password History Feature on Trusted Systems
Password history is a new trusted-system feature of the passwd command, used to discourage users from re-using previously used passwords.
The system administrator enables the system-wide password history feature by creating (or opening, if it already exists) a file called /etc/default/security and appending an entry:
PASSWORD_HISTORY_DEPTH=number
Depending on the value of number (decimal integer from 1 through 10), the system checks the user's new password against that number of previously used passwords and prevents their usage. (For example, if number=5, the system will not allow a user to use any of the last five passwords he or she has previously used.)
Structurally, the password history feature is accomplished by a shared library, called libpam_unix.1, which is dynamically loaded at run time by the command. This structural characteristic is totally transparent to users; the end-user interface of the command is unchanged.
For further information, consult the passwd(1) manpage.
See
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/5187-1361/5187-1361_top.html&con=/hpux/onlinedocs/5187-1361/00/01/120-con.html&toc=/hpux/onlinedocs/5187-1361/00/01/120-toc.html&searchterms=passwd%7chistory%7ctrusted&queryid=20041203-074404
steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2004 03:02 AM
12-03-2004 03:02 AM
Re: Password history inquiry in Trusted System
are you suggesting that what I am asking can not be done? That the passwd command is the only one that can do this? Reading it I see that passwd uses PAM, which, in theory, I could use as well. Now, the problem is that our application is a 64bit application, and PAM in HP-UX 11.11 (PA-RISC) is strictly 32bit, so we can't use it from a 64bit app. In HP-UX 11i v2 PAM is 64bit in PA and IPF, but we can't force people to switch to the new OS at the drop of a hat.
So, my question remains: Can you from a C program check the password history for an user programatically in an HP-UX Trusted system?
Thanks,
Juan Miguel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2004 04:37 AM
12-03-2004 04:37 AM