Use this procedure if your existing naming switch configuration still uses the nsswitch.conf file. This procedure shows how to migrate your naming switch configurations from the file to SMF, which is the default method to configure naming switch in Oracle Solaris.
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.
Make sure to name the file /etc/nsswitch.conf.
# nscfg import -f svc:/system/name-service/switch:default
# svcadm refresh name-service/switch