Nsswitch.conf modification requires reboot?
807557Aug 10 2005 — edited Aug 11 2005I have a couple Solaris 10 SPARC machines running. I am trying to modify nsswitch.conf to add/remove the dns entry for hosts. It seems that this can not be done on the fly as it used to be in previous versions (9,8,7)
Many posts I have seen have provided one of the two following options.
Modify nsswitch.conf and reboot
sys-unconfig and reboot.
Neither of these are really valid options on any machine that is not just the average desktop and even then it is arguable that a simple change like this should not require a reboot. I have trying bouncing nscd and/or name-services with svcadm but no luck.
Anyone know how I can make changes to nsswitch.conf and have them take place without a reboot? Also, is there something in 10 that caches names besides nscd? Does it have a restart or flush option?
Thanks!