- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Turning NIS off
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
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
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
тАО06-12-2000 11:36 AM
тАО06-12-2000 11:36 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2000 11:50 AM
тАО06-12-2000 11:50 AM
Solution/sbin/init.d/nis.client stop
2) Turn off NIS server
/sbin/init.d/nis.server stop
3) Edit /etc/nsswitch.conf to not use nis
4) Edit /etc/rc.config.d/namesvrs & set NIS_SLACE_SERVER=0
NIS_CLIENT=0
NIS_DOMAIN=""
Brian
<*(((>< er
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2000 11:51 AM
тАО06-12-2000 11:51 AM
Re: Turning NIS off
Also, do a ypcat -k ypservers - this will tell you what the NIS servers are.
You will need to remove the slave server in question from this list
ypcat -k ypservers > /tmp/
(edit the file to remove the servername in question)
cat /tmp/
Remove the NIS maps on the slave in question so it won't start the ypserv process.
Also, edit the /etc/rc.config.d/namesvrs file and change the entry that tells the server to be a slave.
The new ypservers map will only push out to those servers listed in the file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2000 11:58 AM
тАО06-12-2000 11:58 AM
Re: Turning NIS off
Sample configurations are available in /etc/nsswitch.files
More information can be found by typing:
man service.switch
man nsswitch.conf (or man switch - they are the same).
Essentially by removing the nis statement in the /etc/nsswitch.conf file you disable nis lookups. Although that does not disable the daemons.
Hope that's what you are looking for.
Have a Great Day!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2000 12:21 PM
тАО06-12-2000 12:21 PM
Re: Turning NIS off
Berlene
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2000 12:46 PM
тАО06-12-2000 12:46 PM
Re: Turning NIS off
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2000 12:55 PM
тАО06-12-2000 12:55 PM
Re: Turning NIS off
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2000 07:02 AM
тАО06-16-2000 07:02 AM
Re: Turning NIS off
master needs to be = to 0, client=0, and slave should also =0.
Second, on the servers, move the /var/yp/nis domain directory to disconnect the NIS Maps.
Third, cd /etc, and look for the nsswitch.conf file, (this is the file that is used for the nis policies). Rename nsswitch.conf to nsswitch.bak, then rename nsswitch.files to nsswitch.conf. This should be on the clients as well. Leave the /etc/passwd files alone!