Hi,

Thanks for the reply. Is it that I should have one entry corresponding
to each student in the auto.home ? I have more than 400 students, so
is there any better alternatives?

Suresh

On Sat, Jun 17, 2000 at 09:58:05AM -0700, Rich McClellan wrote:
> On Sat, 17 Jun 2000, Suresh Kumar. R wrote:
> 
> > I have server1 and server2 containing the home directories and each
> > server having the file systems fs11,fs12 etc. The file systems in 
> > server2 are fs21, fs22 ..
> > 
> > I want the users home directories to be available as /home/$USER 
> > while his actual home directory would be in a filesystem fs21 or fs12. 
> >
> > My questions
> > 1. What should be the entry in the /etc/passwd 
> > 2. How is nis map used for this purpose
> 
> 1. The same as before:  the user's dir is specified as /home/$USER.
> Client's, of course, have sparse passwd files with (optionally) 
> +::::::
> as the last line of the file.
>  
> 2. You'll use auto.master to specify (at least) the map auto.home.
> auto.home will contain entries for each user and where their home dir
> really resides.  For example, user djuan's dir resides on server2, in dir
> fs21.  djuan's auto.home entry would look like:
> 
> djuan -hard,intr,rsize=8192,wsize=8192 server2:/fs21/djuan
>  
> The entry for user directories would look like (from auto.master):
> /home auto.home
> 
> Be very sure to remove auto.master and auto.home from the clients and 
> specify NIS for the appropraite sections of /etc/nsswitch.conf, but at
> least:
> automount:  nis files
>  
>               good luck,
>               Rich
> 
> 
> 
Suresh
----------------------------------------------------------------------
Suresh Kumar.R,                               Email: [EMAIL PROTECTED]
Dept of Electronics & Communication
College of Engineering, Trivandrum - 695 016, INDIA
Phone: (O) 91 471 414634/418379, (R) 91 471 443496

Reply via email to