> -----Original Message-----
> From: Donncha O Caoimh [mailto:donncha.ocaoimh at 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:
Export the whole home directory
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.
/usr/home auto_home -nobrowse
auto.home should have:
That will then mount /usr/home/whatever, assuming the directory
exists on kavanagh...
It's quite nice... (I'm looking at sun stuff here, but linux is the same if
use the autofs modules... there's a line +auto_master, which yanks it in
NIS... if that's there, you may want to comment it out)
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!