I have solaris 9 installed across 2 disks.
disk 1
/ s0
swap s1
/usr s6
/var s3
/home s7
disk2
/swapfile (spare space for use with swap) s1
/opt s5
/export/home s7
When I create a new user using solaris Management console, it takes the settings /export/home/<username> as the home directory but after logging in as user, home directory appears to be /home/<username>.
When I show hidden files, both directories (/home/<username> and /export/home/<username>) both have the same files(.cshrc, .login, etc).
How do I set this so that /export/home/<username> is used exclusively and not /home/<username?
Do I have to change the mount order in vstab? Below is a listing of my vstab file. (/home -c0t0d0s7) not listed in vfstab.
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c0t0d0s4 - - swap - no -
/dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 / ufs 1 no
-
/dev/dsk/c0t0d0s6 /dev/rdsk/c0t0d0s6 /usr ufs 1 no
-
/dev/dsk/c0t0d0s3 /dev/rdsk/c0t0d0s3 /var ufs 1 no
-
/dev/dsk/c0t1d0s7 /dev/rdsk/c0t1d0s7 /export/home ufs 2
yes -
/dev/dsk/c0t1d0s5 /dev/rdsk/c0t1d0s5 /opt ufs 2 yes
-
/dev/dsk/c0t0d0s1 /dev/rdsk/c0t0d0s1 /usr/openwin ufs 2
yes -
swap - /tmp tmpfs - yes -
_________________
Thanks
********* I notice that when I deselect "automatically mount home directory" in the user template the issue goes away. I guess this may be the fix but I don't understand why? If I put the home directory as /export/home/<username>, why doesn't it use thta as home?