GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: root passwd read from NIS not /etc/passwd
Operating System - HP-UX
1847967
Members
5483
Online
104022
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
Forums
Discussions
back
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
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
03-30-2005 01:59 AM
03-30-2005 01:59 AM
root passwd read from NIS not /etc/passwd
When root's password on the 11.11 NIS server is changed using passwd, it updates /etc/passwd but when root logs out and logs in or su, the passwd that works is the one that WAS in use when ypmake was last run. The /etc/nsswitch.conf has passwd: files nis
The /etc/rc.config.d/namesvrs has
YPPASSWDD_OPTIONS="/etc/passwd -m passwd PWFILE=/etc/passwd"
After ypmake is run, the new passwd is the correct one. The NIS slave server always uses the /etc/passwd entry.
The /etc/rc.config.d/namesvrs has
YPPASSWDD_OPTIONS="/etc/passwd -m passwd PWFILE=/etc/passwd"
After ypmake is run, the new passwd is the correct one. The NIS slave server always uses the /etc/passwd entry.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 02:44 AM
03-30-2005 02:44 AM
Re: root passwd read from NIS not /etc/passwd
I'm not sure what's going on - so I'll just throw out a few things I thought about:
Although unlikely - I gotta ask - Is root defined in /etc/password - or did it get deleted where it must get inherited from NIS?
What about another user who has an ID of zero? Maybe this is messing you up? I doubt that one too - but just checking the obvious...
Although unlikely - I gotta ask - Is root defined in /etc/password - or did it get deleted where it must get inherited from NIS?
What about another user who has an ID of zero? Maybe this is messing you up? I doubt that one too - but just checking the obvious...
We are the people our parents warned us about --Jimmy Buffett
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 02:51 AM
03-30-2005 02:51 AM
Re: root passwd read from NIS not /etc/passwd
One thing that occurs to me is that you may have a '+' entry in /etc/passwd on the NIS master.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 02:52 AM
03-30-2005 02:52 AM
Re: root passwd read from NIS not /etc/passwd
Modify the ypmake on the NIS server to not push the account info for accounts with UID < 100. In this manner the local account info on the local systems is never pushed accross the networks and updated in the passwd maps.
This way you can run passwd root all you want on a NIS server system but the account info for root will never be transmitted.
This way you can run passwd root all you want on a NIS server system but the account info for root will never be transmitted.
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 2026 Hewlett Packard Enterprise Development LP