[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: NIS And /home Dirs On Client Systems



Hal Vaughan wrote:
I noticed, a few years ago, when I first set up an NIS server, that even
though the NIS clients get the full password files, that doesn't mean home
directories are automatically created for that user.  I wrote my own Perl
util that reads the passwd file with 'ypcat passwd', then gets the names,
makes the home dirs, and chowns them.

Now, while setting up new systems, I'm wondering: Is this a flaw in NIS, or
what?  How do others handle it?  Is there something else to handle this I
don't know about?


What you probably want is autofs (a.k.a. automounter).  You specify
/home as the mount point to watch and then tell the /etc/auto.home
file where (on which server, IP, and so on) the home directories
actually reside.

-Roberto

--
Roberto C. Sanchez
http://familiasanchez.net/~sanchezr

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: