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.
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.
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