Go to main content

Managing Network File Systems in Oracle® Solaris 11.4

Exit Print View

Updated: August 2021

Using SMF Parameters to Configure Your Autofs Environment

You can use SMF parameters to configure your autofs environment. Specifically, this facility provides an additional way to configure your autofs commands and autofs daemons. You can make the same specifications with the sharectl command that you would make on the command line. You can make your specifications by providing values to keywords.

How to Configure Your Autofs Environment Using SMF Parameters

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.4.

  2. Add or modify an autofs SMF parameter.

    For example, if you want to turn off browsing for all autofs mount points, use the following command:

    # sharectl set -p nobrowse=on autofs

    The nobrowse keyword is equivalent to the –n option of the automountd command. For information about parameters supported for autofs, see autofs(5).

  3. Restart the autofs daemon.
    # svcadm restart system/filesystem/autofs