Make sure that the user's home directory is shared. See "How to Share a User's Home Directory" for more information.
Log in as superuser on the user's system.
Edit the /etc/vfstab file and create an entry for the user's home directory.
system-name:/export/home/user-name - /export/home/user-name nfs - yes rw |
system-name |
The name of the system where the home directory is located. |
/export/home/user-name |
The name of the user's home directory that will be shared. By convention, /export/home contains user's home directories; however, this could be a different file system. |
- |
Required placeholders in the entry. |
/export/home/user-name |
The name of the directory where the user's home directory will be mounted. |
See Chapter 36, Mounting and Unmounting File Systems (Tasks) for more information about adding an entry to the /etc/vfstab file.
Create the mount point for the user's home directory.
# mkdir -p /export/home/user-name |
Mount the user's home directory.
# mountall |
All entries in the current vfstab file (whose mount at boot fields are set to yes) are mounted.
Use the mount command to verify that the home directory is mounted.
# vi /etc/vfstab (The line venus:/export/home/ripley - /export/home/ripley nfs - yes rw is added.) # mkdir -p /export/home/ripley # mountall # mount / on /dev/dsk/c0t0d0s0 read/write/setuid/intr/largefiles/onerror=panic on Fri ... /usr on /dev/dsk/c0t0d0s6 read/write/setuid/intr/largefiles/onerror=panic on Fri ... /proc on /proc read/write/setuid on Fri Sep 10 16:09:48 1999 /dev/fd on fd read/write/setuid on Fri Sep 10 16:09:51 1999 /etc/mnttab on mnttab read/write/setuid on Fri Sep 10 16:10:06 1999 /var/run on swap read/write/setuid on Fri Sep 10 16:10:06 1999 /tmp on swap read/write/setuid on Fri Sep 10 16:10:09 1999 /export/home/ripley on venus:/export/home/ripley /read/write/remote on ... |