This procedure describes how 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. You can use this procedure to add 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.3.
# svccfg -s name-service/switch listprop config/default config/default astring files
# svccfg -s system/name-service/switch:default svc:/system/name-service/switch:default> setprop config/default = astring: "files nis" svc:/system/name-service/switch:default> quit
# svcadm refresh name-service/switch:default