LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

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

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

Liam Bedford lbedford at wbtsystems.com
Thu Feb 17 16:59:12 GMT 2000


> -----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:
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.




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell