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 |
Is the name of the system where the home directory is located. |
/export/home/user-name |
Is 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. |
- |
Are required placeholders in the entry. |
/export/home/user-name |
Is the name of the directory where the user's home directory will be mounted. |
See Chapter 28, 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/c0t3d0s0 read/write/setuid/largefiles on Tue Jun 2 12:37:36 1998 /usr on /dev/dsk/c0t3d0s6 read/write/setuid/largefiles on Tue Jun 2 12:37:36 1998 /proc on /proc read/write/setuid on Tue Jun 2 12:37:36 1998 /dev/fd on fd read/write/setuid on Tue Jun 2 12:37:38 1998 /opt on /dev/dsk/c0t3d0s5 setuid/read/write/largefiles on Tue Jun 2 12:37:38 1998 /tmp on swap read/write on Jun 2 12:37:39 1998 /export/home/ripley on venus:/export/home/ripley /read/write/remote on Jun 2 12:37:40 ... |