NFS Administration Guide

How to Completely Disable Autofs Browsability on a Single NFS Client

  1. 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 automountd daemon:


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


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