How to Remove NIS From a Solaris Client?
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