Rajeev Rao proclaimed:
>    I'm trying to setup NIS with RH6.2, at home. I've got two machines. I've
> managed to setup one as server, and one as the client.
> In the Server I have a single user, titled Rajeev. While logging through the
> client this is what happens
> login: Rajeev
> Password:
> Last Login: Thu Nov 9 21:52:38 on tty1
> bash$
> 
> This does not provide me access to the actual home directory, where my files
> are. What's the problem? Thanks in advance.

NIS is complemented by the Network File System (NFS).  NIS, by itself,
will only make common configuration information (such as
username/password, printer configs, location of user home directories
etc.) across the network.  You will actually have to habe an NFS server
running on the machine which contains the user's home directory and an
NFS client running on all other machines for the home directory stuff to
work.

On the NIS server, install an NFS server.  Also export /home/rajeev on
this server.  Have a map in the NIS server called something like
auto.home.  Include this map in auto.master

On the client machines, enable NFS client support.  Also, enable autofs
support in the kernel and install the user-level autofs daemons.  On the
client machine, configure autofs such that /home is understood to be
automountable.

Thaths

----------------------------------------------
LIH is all for free speech.  But it was created
for a purpose.  Violations of the rules of
this list will result in stern action.

Reply via email to