From: Greg Wooledge <wooledg@eeg.ccf.org>
To: raespi <raespi@estudiantes.uci.cu>
Cc: autofs@linux.kernel.org
Subject: Re: how to use keys ...
Date: Mon, 4 May 2009 08:25:46 -0400 [thread overview]
Message-ID: <20090504122546.GM1493@eeg.ccf.org> (raw)
In-Reply-To: <1241234851.12172.5.camel@bellerophon>
On Fri, May 01, 2009 at 11:27:31PM -0400, raespi wrote:
> /home/teratux :: For example
>
> I want to be able to automount a resource from NFS in this exact
> location.
Our setup is a bit more traditional. This is what we're doing:
$ cat /etc/auto.master
# ...
/nfs /etc/auto.net
+auto.master
$ ypcat -k auto.master
/net/vol auto.vol -rw,hard,intr
/net/appl auto.appl -rw,hard,intr
/net/hosts -hosts -rw,hard,intr
/net/home auto.home -rw,hard,intr
$ ypcat -k auto.home
...
wooledg imadev:/home/wooledg
leek vandev:/home/leek
...
It's a bit higher maintenance than you were aiming for (we have one line
per user account in the auto.home NIS map), but it gives user account
directories directly underneath the autofs mount point (in our case it's
/net/home, but it could as easily be /home). It also has the advantage
of flexibility -- if the physical location of a user's home directory
changes, it's just a one-line change in the auto.home map followed by
an NIS map push.
We have a mixed network of HP-UX, Debian and Red Hat machines. This
works on all of them.
next prev parent reply other threads:[~2009-05-04 12:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-02 3:27 how to use keys raespi
2009-05-04 12:25 ` Greg Wooledge [this message]
2009-05-05 19:29 ` Martin Tessun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090504122546.GM1493@eeg.ccf.org \
--to=wooledg@eeg.ccf.org \
--cc=autofs@linux.kernel.org \
--cc=raespi@estudiantes.uci.cu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.