-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi,
Barak Pearlmutter <[EMAIL PROTECTED]> writes: > > From: Graeme Mathieson <[EMAIL PROTECTED]> > > For autofs ... > > I have the actual home directories on the server in /disk/home> > > Doesn't this mean that all your home directories live on a single > server? The reason we are considering amd (or autofs if it is > capable) is to be able to have different users' home directories live > on different machines. Couple of ways this can be achieved. You could explicitly list all the individual users' home directories in your auto.home map, for example: graeme server1:/disk/homes/u1/graeme derek server2:/disk/homes/u1/derek peter server1:/disk/homes/u2/peter etc. Initially, it looks to be very inefficient, but it can probably be generated quite simply. I've seen it implemented this way using amd (only difference being that they used hesiod maps instead of NIS maps). Another way to achieve it is an executable map. You're auto.master would have something along the lines of: /home program:/usr/local/bin/home-map --timeout 60 And home-map could be a shell/perl/c program which takes the key as an argument, and returns a single line of a map on STDOUT, or no output at all if the key cannot be matched. The executable map would be a far more elegant solution, but I suspect that it has be potential to be slower. OTOH, it could well lighten the load on your NIS server. - -- Graeme. [EMAIL PROTECTED] "Life's not fair," I reply. "But the root password helps." - BOFH -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.1 (GNU/Linux) iD8DBQE5IW9sPjGH3lNt65URAnMkAJ9WGh9HT2OtgDbrkvwJmfhoeg+3iwCfUdeU HqlW5NVSMWIpokLPlZ32Hek= =danJ -----END PGP SIGNATURE-----