How to Disable Autofs Browsability for All Clients

To disable browsability for all clients, you must employ a name service such as NIS. Otherwise, you need to manually edit the automounter maps on each client. In this example, the browsability of the /home directory is disabled. You must follow this procedure for each indirect autofs node that needs to be disabled.

  1. Add the -nobrowse option to the /home entry in the name service auto_master file.
    /home     auto_home     -nobrowse
  2. Run the automount command on all clients to make the new behaviour effective.

    The new behavior also becomes effective after a reboot.

    # /usr/sbin/automount