automounter
Configure the automounter with direct and indirect maps to automatically mount an NFS file system on demand, and unmount it when it is no longer in use.
Task 1:
useradd ldapuser40
passwd --stdin ldapuser40
yum install autofs
systemctl start autofs
systemctl enable autofs
vim /etc/auto.master
/rhome /etc/auto.ldap
cp /etc/auto.misc /etc/audo.ldap
vim /etc/auto.ldap
ldapuser --rw,soft,intr 172.24.40.10:/rhome/ldapuser40
service autofs stop
service autofs startLast updated