- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- passwd -f xyz
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
03-24-2004 05:35 AM
03-24-2004 05:35 AM
passwd -f xyz
My question is how the system handle the log in process, what is the mechanism. I assume the system will invoke /usr/bin/passwd when the user log in, and use the command to change the password. But I did a little test, it seems the system did not invoke /usr/bin/passwd
Any idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 05:39 AM
03-24-2004 05:39 AM
Re: passwd -f xyz
Did you check for /sbin/passwd?
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 05:50 AM
03-24-2004 05:50 AM
Re: passwd -f xyz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 05:53 AM
03-24-2004 05:53 AM
Re: passwd -f xyz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 06:05 AM
03-24-2004 06:05 AM
Re: passwd -f xyz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 06:09 AM
03-24-2004 06:09 AM
Re: passwd -f xyz
I don't quite understand you, but it seems that the system doen't invoke /usr/bin/passwd, it uses its own way to force the user to change his password.
I don't want to change "passwd" itself, I have our own passwd, and it supposely handle security issues better. So I want to replace the mechanism with our own passwd. I have to understand the HPUX mechanism first before I can replace it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 06:16 AM
03-24-2004 06:16 AM
Re: passwd -f xyz
1) Use the standard login program supplied with HP-UX and write a set of custom PAM functions.
2) Use a custom login program in place of the standard.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 06:25 AM
03-24-2004 06:25 AM
Re: passwd -f xyz
I don't know much about login process, and pam, any recommendation on docs?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 06:32 AM
03-24-2004 06:32 AM
Re: passwd -f xyz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 06:37 AM
03-24-2004 06:37 AM
Re: passwd -f xyz
We want to implement npasswd, a tool is to handle for instance, the guesseable password, the trusted-system won't do that for us.
HOw do I write my own pam functions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 06:59 AM
03-24-2004 06:59 AM
Re: passwd -f xyz
Whenever you are changing login/passwd routines make absolutely certain that you are logged in as root in at least two sessions. That way you can get yourself out of trouble almost as fast as you got yourself in.
Let me suggest a Plan C: Find a 10.20 version of login and use it. It does invoke passwd/yppasswd and if you rename your npasswd program to /usr/bin/passwd then you should be good to go.