System Administration Guide: Network Services

ProcedureHow to Use the /etc/default/autofs File

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

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

  3. Restart the autofs daemon.

    Type the following command:


    # svcadm restart system/filesystem/autofs