- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NIS problems
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-28-2001 12:33 PM
03-28-2001 12:33 PM
ypinit -s SUN-NIS-master-hostname
and all the maps transfer over but they still don't recognize the new user id. Now, when I run
ypcat on the password the new account is there but trying to su to it gives unknown id. Any ideas on how to get the HP's to recognize the new user id's right away. Sorry about mentioning the SUN's, but I do have quite a mixed environment.
Thanks, Mike
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2001 03:08 AM
03-29-2001 03:08 AM
Re: NIS problems
You have to be sure that nis is using the nis passwords. There are to ways to do that.
In /etc/nsswitch.conf you can have:
passwd: files
That means that if the uid or username is not found in /etc/passwd it wil use nis.
If you have:
passwd: compat
That means that you have to put in a "+" in the /etc/passwd file. Put it after the last user in the file. Then if the user or uid is not found, the + means use nis.
I hope this helps, if this is the problem i can not understand if it wors after some days ??
God luck
Jesper
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2001 07:27 AM
03-29-2001 07:27 AM
Re: NIS problems
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2001 03:43 PM
03-29-2001 03:43 PM
SolutionAre you running any ypupdate scripts on the HP? Are you running yppush on the sun to update slaves?
In "/var/yp/" there are several scripts for different maps.
ypxfr_1perday
ypxfr_1perhour
ypxfr_2perday
Are any of these scheduled in cron?
I usually use ypxfr_1perhour and modify with any maps that need to be updated frequently. I modify it to make sure that it talks to the correct master, and gets the needed maps.
Schedule in cron like:
1 * * * * /var/yp/ypxfr_1perhour 1>>/dev/null 2>>/dev/null
This should alleviate your problems by forcing the correct action!
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2001 06:41 AM
03-30-2001 06:41 AM
Re: NIS problems
Mike