Quote:
Originally Posted by PDock
|
thanks I am still confused. I am assuming you are referring to this part of the post:::
"sharing home directory
Perhaps pointing out the obvious but you will have five users doing nothing if your NIS server goes down.
Consider having the /home directory for each user on his own machine. Joe's box[1] would have a /etc/passwd[shadow] entry setting his home directory to /home/Joe. On your NIS server create users (same uid as you say you are doing) and assign their home under /home/users/ . Thus Joe on the NIS server would be /home/users/Joe with same info in the NIS server passwd file.
Now when Joe sits at his box: He logs in and passwd sets his home to /home/Joe.
when Joe sits at any other box: He logs in (thru the NIS server) and his home is set to /home/users/Joe
Last step is to use rsync to keep home directories on NIS server in sync with "sits at" boxes.
Just a concept you might want to explore
ppd"
----------------------------
ok I get that (I think) but here is what I do not understand. again I have set up the auto.master to reference the auto.home. the auto.home reads * 192.168.1.13:/home/&
I also reduced the timeout value to 30 seconds. Ok so...now when automounter is not on I can see the local users when I cd into /home. that makes sense. then with automounter on I su - nfsuser. this user is on the nis server at 192.168.1.13. works great and mounts to the local /home dir. so far so good. but I then exit out of that user and wait for the timeout...I do a df -hP to see that the nfs mount is gone....I then ls /home and there is nothing..no local user and no nis/nfs user (the before mentioned "nfsuser". so the fact that a cd or an ls into the /home dir does not show the local users tell me that something is still mounted on the /home directory...right? so I cd' into the /home and then I open another terminal and do a df -hP. well the 192.168.1.13 IS NOT shown...so that tells me nothing is mounted on /home. but I can't see the local users so something must be mounted on /home right? well I then turn off the automounter "service autofs stop". then I cd out of the /home and back into the /home directory...and you know what I see? I see the home directory of 1 of the 10 local users I have set up...that is bizzare...so I make sure that user is not logged on and they are not...what the heck...so I less the /etc/passwd just to make sure I am not crazy...and there are my other local users all with /home specified in the file. yet only one of them now show having a home directory. I then reboot (making sure to chkconfig autofs off and upon reboot my local users are there....... to this just makes no sense to me at all...