Pages

Tuesday, January 22, 2013

Disable automountd in HP-UX

To disable automountd in HP-UX configure the file /etc/rc.config.d/nfsconf and change the value for the AUTOFS parameter from 1 to 0 first:

# vi /etc/rc.config.d/nfsconf
...
#AUTOFS=1
AUTOFS=0
...


Then restart the NFS client:

# /sbin/init.d/nfs.client stop
...
# /sbin/init.d/nfs.client start
...


Finally check that automountd isn't running anymore:

# ps -ef | grep automountd
...