Use this procedure to define a common source for all the databases that are used by the name service for lookups. By default, the common source is files. In this procedure, you are adding another source.
For more information about obtaining the appropriate rights to perform specific tasks, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .
# svccfg -s name-service/switch listprop config/default config application config/default astring files
# svccfg -s system/name-service/switch svc:/system/name-service/switch> setprop config/default = astring: "files nis" svc:/system/name-service/switch> quit
# svcadm refresh name-service/switch