System Administration Guide: Resource Management and Network Services

How to Completely Disable Autofs Browsability on a Single NFS Client

  1. Become superuser or assume an equivalent role on the NFS client.

    For information about roles, see “Using Privileged Applications” in System Administration Guide: Security Services.

  2. Add the -n option to the startup script.

    As root, edit the /etc/init.d/autofs script and add the -n option to the line that starts the autmountd daemon:.


    /usr/lib/autofs/automountd -n \
                    < /dev/null > /dev/console 2>&1  # start daemon
  3. Restart the autofs service.


    # /etc/init.d/autofs stop
    # /etc/init.d/autofs start