- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NIS/LDAP and ypcat passwd
Operating System - HP-UX
1820638
Members
1965
Online
109626
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
Discussions
Discussions
Discussions
Forums
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
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
тАО10-03-2002 03:21 PM
тАО10-03-2002 03:21 PM
NIS/LDAP and ypcat passwd
I have been reading through the documentation for HP's NIS/LDAP Gateway product.
One reason we are looking into alternative authentication services is that standard NIS allows a full view of the NIS password file.
It is not clear in the NIS/LDAP documentation about whether NIS clients attached to the NIS/LDAP domain can run: ypcat passwd. If so, does that mean the 2nd field, the password field is still viewable? What would the NIS clients see when a 'ypcat passwd' is run?
One reason we are looking into alternative authentication services is that standard NIS allows a full view of the NIS password file.
It is not clear in the NIS/LDAP documentation about whether NIS clients attached to the NIS/LDAP domain can run: ypcat passwd. If so, does that mean the 2nd field, the password field is still viewable? What would the NIS clients see when a 'ypcat passwd' is run?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2002 05:41 AM
тАО10-04-2002 05:41 AM
Re: NIS/LDAP and ypcat passwd
Ted,
I don't know the answer to that question. But I believe that NIS+ resolves this issue.
Sean
I don't know the answer to that question. But I believe that NIS+ resolves this issue.
Sean
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2002 11:46 AM
тАО10-04-2002 11:46 AM
Re: NIS/LDAP and ypcat passwd
If your running an NIS/LDAP gateway then the answer is yes and no, depending on what your doing.
If the passwords are in NIS, then you can ypcat passwd|grep user. If the LDAP contains the auth mechanism, then PAM queries LDAP for auth information.
Both LDAP and YP store passwords in a salted encrypted fashion. I can use LDAP queries just as easy as ypcat to view information. LDAP supports more options, but I have not seen it do enough to make it worth all the headaches yet.
Regards,
Shannon
If the passwords are in NIS, then you can ypcat passwd|grep user. If the LDAP contains the auth mechanism, then PAM queries LDAP for auth information.
Both LDAP and YP store passwords in a salted encrypted fashion. I can use LDAP queries just as easy as ypcat to view information. LDAP supports more options, but I have not seen it do enough to make it worth all the headaches yet.
Regards,
Shannon
Microsoft. When do you want a virus today?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2002 03:37 PM
тАО11-11-2002 03:37 PM
Re: NIS/LDAP and ypcat passwd
Hi,
If you're using pure NIS with the NIS/LDAP gateway, then the password field is not hidden (though it is hashed, per the comments in the other threads.) The NIS/LDAP gateway tries to make LDAP appear as an NIS server. So from a client perspective, there is no change. The reason being is that the PAM_UNIX authenitcation system needs access to the "crypt"ed password. However, it is possible to use PAM_LDAP instead of PAM_UNIX for authentication. In this case, the a password is kept on the directory server and need not be visible to the HP-UX host. Note that PAM_LDAP is only available on the 11.00+ versions of HP-UX (not availble on 10.20 or earlier.)
I would carefully consider before choosing NIS+. Sun has made annoucements of the discontinuance of NIS+.
Bob
http://docs.hp.com/hpux/internet
If you're using pure NIS with the NIS/LDAP gateway, then the password field is not hidden (though it is hashed, per the comments in the other threads.) The NIS/LDAP gateway tries to make LDAP appear as an NIS server. So from a client perspective, there is no change. The reason being is that the PAM_UNIX authenitcation system needs access to the "crypt"ed password. However, it is possible to use PAM_LDAP instead of PAM_UNIX for authentication. In this case, the a password is kept on the directory server and need not be visible to the HP-UX host. Note that PAM_LDAP is only available on the 11.00+ versions of HP-UX (not availble on 10.20 or earlier.)
I would carefully consider before choosing NIS+. Sun has made annoucements of the discontinuance of NIS+.
Bob
http://docs.hp.com/hpux/internet
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP