- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NIS client setup
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
01-22-2003 09:20 AM
01-22-2003 09:20 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2003 09:29 AM
01-22-2003 09:29 AM
Re: NIS client setup
1) edit /etc/rc.config.d/namesvrs
and set NIS_CLIENT=1
and NIS_DOMAIN="acme" (or whatever your domain is)
2) /sbin/init.d/nis.client start
Now you must alter /etc/passwd, /etc/nsswitch.conf, /etc/groups, automount maps, ... depending upon your needs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2003 11:54 AM
01-22-2003 11:54 AM
Re: NIS client setup
1. Added the NIS master and slave servers to /etc/hosts.
2. Ran the domainname command.
3. Copied /etc/nsswitch.nis to /etc/nsswitch.conf
4. Edited /etc/rc.config.d/namesvrs as suggested.
5. Ran /sbin/init.d/nis.client start.
The nis.client script started ypbind and keyserv but could not bind to the local domain. I also found that the system would no longer resolve hostnames and nsslookups failed. I stopped nis.client and was able to resolve hosts again. Is there somplace that I need to add the NIS servers or am I missing something else. I am planning on using only the password and group databases within NIS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2003 12:05 PM
01-22-2003 12:05 PM
SolutionSet the YPBIND_OPTIONS="" in /etc/rc.config.d/namesvrs file to YPBIND_OPTIONS="-ypset".
Then set the YPSET_ADDR="" in /etc/rc.config.d/namesvrs file to YPSET_ADDR="ip.of.server".
Simple things like the broadcast being different will cause failures to bind, as the ypbind process uses the broadcast address to find a NIS server. The broadcast address is defined by the netmask in the IF configuration. /etc/rc.config.d/netconf will get you started. WARNING: You should make backup copies of these files in case you oops ;)
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2003 12:14 PM
01-22-2003 12:14 PM
Re: NIS client setup
Below is the link to Configuring and Administering an NIS Client.
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B1031-90048/B1031-90048_top.html&con=/hpux/onlinedocs/B1031-90048/00/00/24-con.html&toc=/hpux/onlinedocs/B1031-90048/00/00/24-toc.html&searchterms=nis%7cclient&queryid=20030122-131235
Hope this helps.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2003 01:01 PM
01-22-2003 01:01 PM