This document explains how to configure Autofs to automount /home and /home/admins automatically on Linux servers.
Document Creator Todd Walters
How to Configure Automounts using autofs
1. vi /etc/auto.home and add this line:
* -(rw,sync,no_root_squash) 10.X.X.X:/home/&
2. vi /etc/auto.master and add this link:
/home /etc/auto.home
3. run chkconfig –list autofs and verify run levels 3, 4 & 5 are set to on.
chkconfig --list autofs
autofs 0:off 1:off 2:off 3:on 4:on 5:on 6:off
4. run service autofs start
[root@serv01 ~]# service autofs start
Starting automount: [ OK ]
5. verify that home directories are mounting.
cd /home/username to check or logout and then login to server as user and you should be in your home directory.
No comments:
Post a Comment