Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to Remove NIS From a Solaris Client?

client NIS remove Solaris
0
Posted

How to Remove NIS From a Solaris Client?

0

To remove NIS from a Solaris client, remove the following NIS files: # rm -r /var/yp/`domainname` # rm /etc/defaultdomain If you just want to temporarily disable NIS, you should move the objects to different names, rather than removing them. Afterwards, you must also modify the nsswitch.conf file: # cp /etc/nsswitch.files /etc/nsswitch.conf If you are continuing to run DNS, you will want to modify the hosts: line of the nsswitch.conf, by adding dns: hosts: files dns Finally, reboot the machine. 3.10: How to run DNS without NIS If you are running DNS on a SunOS machine, without NIS, you will find that it will react in a very erratic and unexpected manner. Lookups might not go to DNS at all, or they might go to DNS only in some specific cases. In order to run DNS in a Sun-supported manner, you should setup at least a minimal NIS configuration where you would have your SunOS clients bind to your NIS master and slaves and allow them to do the DNS lookups for your clients. If you are unwill

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123