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.4.
# svccfg -s name-service/switch listprop config/default 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