Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services. To configure a role with the Primary Administrator profile, see Chapter 2, Working With the Solaris Management Console (Tasks), in System Administration Guide: Basic Administration.
Add or modify an entry in the /etc/default/autofs file.
For example, if you want to turn off browsing for all autofs mount points, you could add the following line.
AUTOMOUNTD_NOBROWSE=ON |
This keyword is the equivalent of the -n argument for automountd. For a list of keywords, refer to /etc/default/autofs File.
Restart the autofs daemon.
Type the following command:
# svcadm restart system/filesystem/autofs |