RE: [ILUG] NIS and NFS, the story continues..

From: Liam Bedford (lbedford at domain wbtsystems.com)
Date: Thu 17 Feb 2000 - 16:59:12 GMT


> -----Original Message-----
> From: Donncha O Caoimh [mailto:donncha.ocaoimh at domain tradesignals.com]
>
> Got NIS working, with shadow passwords too, and now looking at sharing
> home directories among machines.
> The simplest way I can think of is to export the whole /home tree and
> mount it on /home on foreign machines, but this could be a lot more
> expensive than I'd like. I tried to get my head around autofs and amd
> but I couldn't find any clear "do this on the server" and "do this on
> the client" docs to get that lot working. Would I have to have a
> seperate line in /etc/exports on the server for each home directory?
Nope.. depends on what you want to do I spose.. but we have something like:
File Server:
Export the whole home directory

Clients:
I tend to nuke most of the auto files in /etc, and just work from
auto.master, but that's because I have sun boxes, which have automount
setup in their NIS+ tables.

auto.master:
/usr/home auto_home -nobrowse

auto.home should have:
* kavanagh:/export/home/&

That will then mount /usr/home/whatever, assuming the directory
/export/home/whatever
exists on kavanagh...

It's quite nice... (I'm looking at sun stuff here, but linux is the same if
you
use the autofs modules... there's a line +auto_master, which yanks it in
from
NIS... if that's there, you may want to comment it out)

L.



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:05:27 GMT