##Configuring nsswitch.conf
The next step is to configure the
svc:/system/name-service/switch service .
solaris:~$ svccfg -s name-service/switch
svc:/system/name-service/switch> setprop config/default =
files
svc:/system/name-service/switch> setprop config/host =
"files dns"
svc:/system/name-service/switch> setprop config/ipnode =
astring: "files dns"
svc:/system/name-service/switch> exit
solaris:~$ svcadm refresh name-service/switch
solaris:~$ svcadm restart name-service/switch
Now examine the /etc/nsswitch.conf to confirm it worked:
No comments:
Post a Comment