HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- removing a NIS client
Operating System - HP-UX
1832299
Members
1936
Online
110041
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
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
06-25-2001 10:58 AM
06-25-2001 10:58 AM
Greeting all... I am going to remove an HPUX 11.0 server from our NIS domain. I am just looking for some insite, maybe someone has removed a client and has some a story that may be helpful. Anything. Thanks gang!
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2001 11:24 AM
06-25-2001 11:24 AM
Solution
To remove an NIS client you can do:
1) Edit the /etc/rc.config.d/namesvrs file and comment out, or null out, all variables having to do with NIS. Make sure you have the NIS_SLAVE_SERVER variable set to 0 (zero) so that the daemons don't start on reboot.
2) Check the /etc/passwd file and take out the +::*:* entry and make sure all users that are going to log into the system have a entry in the local passwd file.
3) Same as #2 for the /etc/group file
4) Check /etc/nsswitch.conf and make sure NIS is taken out of the rules there.
I'm sure there's other things to check, but that's all I can think of right now.
Patrick
1) Edit the /etc/rc.config.d/namesvrs file and comment out, or null out, all variables having to do with NIS. Make sure you have the NIS_SLAVE_SERVER variable set to 0 (zero) so that the daemons don't start on reboot.
2) Check the /etc/passwd file and take out the +::*:* entry and make sure all users that are going to log into the system have a entry in the local passwd file.
3) Same as #2 for the /etc/group file
4) Check /etc/nsswitch.conf and make sure NIS is taken out of the rules there.
I'm sure there's other things to check, but that's all I can think of right now.
Patrick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2001 11:30 AM
06-25-2001 11:30 AM
Re: removing a NIS client
Hi Brian,
It is very simple. you just vi /etc/rc.config.d/namesvrs
NIS_SLAVE_SERVER="0"
/sbin/init.d/nis.server stop
Don?t forget to remove your secondary server?s name from your master servers database "ypservers"
I never had trouble-removing servers.
Sachin
It is very simple. you just vi /etc/rc.config.d/namesvrs
NIS_SLAVE_SERVER="0"
/sbin/init.d/nis.server stop
Don?t forget to remove your secondary server?s name from your master servers database "ypservers"
I never had trouble-removing servers.
Sachin
Is photography a hobby or another way to spend $
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2001 11:35 AM
06-25-2001 11:35 AM
Re: removing a NIS client
Hi Brian,
Patrick has covered most of the bases but you
should also check your /etc/services file for entries that were defined in NIS (ypcat services) but are not defined in your local /etc/services files.
Actually the same applies for protocols, services, networks, netgroup, & rpc but these are very seldom changed.
Of course, if you are not running DNS then you will need hostname entries in /etc/hosts.
Regards, Clay
Patrick has covered most of the bases but you
should also check your /etc/services file for entries that were defined in NIS (ypcat services) but are not defined in your local /etc/services files.
Actually the same applies for protocols, services, networks, netgroup, & rpc but these are very seldom changed.
Of course, if you are not running DNS then you will need hostname entries in /etc/hosts.
Regards, Clay
If it ain't broke, I can fix that.
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 2025 Hewlett Packard Enterprise Development LP