- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NIS - byuid
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
Forums
Discussions
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
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
02-26-2006 10:38 PM
02-26-2006 10:38 PM
NIS - byuid
Whenever a user tried to log in they were identified as root (a whoami command returned an "Intruder Alert" message).
Did a ypwhich -m and for all entries this seemed normal except for the passwd.byuid which was now no longer pointing to the server but rather to the client.
Did a ypset
Repeated the fix above (ypset etc) and once again we were working but preumeably this will just happen again if we reboot the client or the server. How can I make this mapping permanent.
many thanks
Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 11:01 PM
02-26-2006 11:01 PM
Re: NIS - byuid
Check below file, your NIS settings should be
/etc/rc.config.d/namesvrs
NIS_MASTER_SERVER=0
NIS_SLAVE_SERVER=0
NIS_CLIENT=1
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 11:13 PM
02-26-2006 11:13 PM
Re: NIS - byuid
I checked these files and they are indeed different, having:
NIS_MASTER_SERVER=0
NIS_SLAVE_SERVER=1
NIS_CLIENT=1
But this seems to be consistent across all of our clients using NIS and we are not seeing this issue elsewhere.
cheers
Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 11:26 PM
02-26-2006 11:26 PM
Re: NIS - byuid
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 11:31 PM
02-26-2006 11:31 PM
Re: NIS - byuid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 11:36 PM
02-26-2006 11:36 PM
Re: NIS - byuid
a bit strange to have "NIS_SLAVE_SERVER=1" set on a NIS client.
---
Steps to setup a NIS Master Server, NIS Slaves, and NIS Clients DocId: KBAN00000276
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080360992
---
are you sure it is only a NIS client ?
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 11:53 PM
02-26-2006 11:53 PM
Re: NIS - byuid
They do seem to be very strange settings - unfortunately this is an inherited system and so I have no idea as to why any particular settings were chosed. My concern there is that they do match all of the other clients which dont seem to have a problem.
Could they all be servers relaying data on driven by the master server? IF I look at the master server then the settings are:
NIS_MASTER_SERVER=1
NIS_SLAVE_SERVER=0
NIS_CLIENT=1
Which would seem to support that.
Equally, it was only the passwd.byuid that had the wrong (local) server when doing the ypwhich -m and I would have thought that there would be more errors there if the NIS_SERVER
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2006 12:50 AM
02-27-2006 12:50 AM
Re: NIS - byuid
/var/yp/binding/
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2006 01:24 AM
02-27-2006 01:24 AM
Re: NIS - byuid
That directory does not seem to exist I am afraid.
The /var/yp/binding directory is there but no other directories.
There is a file in /var/yp/binding/ called:
and that is all.