GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NIS getting started
Operating System - HP-UX
1847916
Members
2854
Online
104021
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
05-09-2002 04:10 AM
05-09-2002 04:10 AM
NIS getting started
Ok lady and gent gurus, a few questions :
1- In my first attempt to setup NIS, just after issuing ypinit -m on the master (the same with ypinit -s on the slave), I receive an error message complaining about not knowing how to make /etc/auto_master.
2- I am aware og the nsswitch.conf file, but was curious as to whether I have to create this manually, or should I expect autocreation on/during NIS setup completion?
3- I have tried to modify the passwd file on the master NIS server and update the associated maps using #ypmake NOPUSH=1 passwd to avoid updating the slave (so that I can run ypxfr and manually pull the update across), but the slaves passwd map is still updated despite explicitly stating the NOPUSH command?
I have also manually killed the rpc.yppasswdd daemon to prevent this (is that correct?).
What I am trying to do is update the passwd entry on the slave by pulling the update rather than having the master push.
sorry about the quantity of questions,any help whatsoever is appreciated!
thanks
john
1- In my first attempt to setup NIS, just after issuing ypinit -m on the master (the same with ypinit -s
2- I am aware og the nsswitch.conf file, but was curious as to whether I have to create this manually, or should I expect autocreation on/during NIS setup completion?
3- I have tried to modify the passwd file on the master NIS server and update the associated maps using #ypmake NOPUSH=1 passwd to avoid updating the slave (so that I can run ypxfr and manually pull the update across), but the slaves passwd map is still updated despite explicitly stating the NOPUSH command?
I have also manually killed the rpc.yppasswdd daemon to prevent this (is that correct?).
What I am trying to do is update the passwd entry on the slave by pulling the update rather than having the master push.
sorry about the quantity of questions,any help whatsoever is appreciated!
thanks
john
chicken or egg first?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2002 04:24 AM
05-09-2002 04:24 AM
Re: NIS getting started
hi,
does /etc/auto_master exists in your system. if not before giving ypinit.
#touch /etc/auto_master
The file /etc/nsswitch.conf exists by default . only thing to do , edit that file and assign the order for NIS for the local
host if your NIS server acts also as a NIS
slave.
when using ypmake command use PWFILE option .
PWFILE=/etc/passwd
the passwd file where you commited your changes.
regards,
U.SivaKumar
does /etc/auto_master exists in your system. if not before giving ypinit.
#touch /etc/auto_master
The file /etc/nsswitch.conf exists by default . only thing to do , edit that file and assign the order for NIS for the local
host if your NIS server acts also as a NIS
slave.
when using ypmake command use PWFILE option .
PWFILE=/etc/passwd
the passwd file where you commited your changes.
regards,
U.SivaKumar
Innovations are made when conventions are broken
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2002 04:35 AM
05-09-2002 04:35 AM
Re: NIS getting started
Hi,
As regards to nsswitch.conf, there is no default file which will be present.
Below is the files from a frest HP-UX 11.11 server.
# cd /etc
# ls nsswitch*
nsswitch.compat nsswitch.hp_defaults nsswitch.nisplus
nsswitch.files nsswitch.nis
So, when you install a fresh server, you need to copy the sample nsswitch.nis to nsswitch.conf
OR
use sam and there you can define the resolution process for hosts, passwd etc.
-Sukant
As regards to nsswitch.conf, there is no default file which will be present.
Below is the files from a frest HP-UX 11.11 server.
# cd /etc
# ls nsswitch*
nsswitch.compat nsswitch.hp_defaults nsswitch.nisplus
nsswitch.files nsswitch.nis
So, when you install a fresh server, you need to copy the sample nsswitch.nis to nsswitch.conf
OR
use sam and there you can define the resolution process for hosts, passwd etc.
-Sukant
Who dares he wins
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