The software described in this documentation is either in Extended Support or Sustaining Support. See https://www.oracle.com/us/support/library/enterprise-linux-support-policies-069172.pdf for more information.
Oracle recommends that you upgrade the software described by this documentation as soon as possible.
If you have configured an automount map for
auto.home in NIS, you can configure a NIS
client to mount home directories upon a user's login.
To configure a NIS client to automount home directories for users:
Install the
autofspackage:#
yum install autofsCreate an
/etc/auto.masterfile that contains the following entry:/nethome /etc/auto.home
Verify that the
auto.homemap is available:#
ypcat -k auto.home* -rw,sync nfssvr:/nethome/&In this example, the map is available. For details of how to make this map available, see Section 23.5.3, “Adding User Accounts to NIS”.
If the
auto.homemap is available, edit the file/etc/auto.hometo contain the following entry:+auto.home
This entry causes the automounter to use the
auto.homemap.Restart the
autofsservice, and configure the service to start following a system reboot:#
service autofs restart#chkconfig autofs onThe
autofsservice creates the directory/nethome. When a user logs in, the automounter mounts his or her home directory under/nethome.If the owner and group for the user's files are unexpectedly listed as the anonymous user or group (
nobodyornogroup) andall_squashhas not been specified as a mount option, verify that theDomainsetting in/etc/idmapd.confon the NFS server is set to the DNS domain name. Restart the NFS services on the NFS server if you change this file.

