PrepAway - Latest Free Exam Questions & Answers

Configure autofs to make sure after login successfully…

Configure autofs to make sure after login successfully, it has the home directory autofs, which is shared as /
rhome/ldapuser40 at the ip: 172.24.40.10. and
it also requires that, other ldap users can use the home directory normally.

PrepAway - Latest Free Exam Questions & Answers

Answer: See the explanation

Explanation:
# chkconfig autofs on# cd /etc/
# vim /etc/auto.master
/rhome /etc/auto.ldap
# cp auto.misc auto.ldap
# vim auto.ladp
ldapuser40 -rw,soft,intr 172.24.40.10:/rhome/ldapuser40
* -rw,soft,intr 172.16.40.10:/rhome/&
# service autofs stop
# server autofs start
# showmount -e 172.24.40.10
# su – ladpuser40


Leave a Reply