All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Waychison <Michael.Waychison@Sun.COM>
To: "Dimitry V. Ketov" <Dimitry.Ketov@avalon.ru>
Cc: autofs@linux.kernel.org
Subject: Re: Exporting UID to userspace?
Date: Wed, 09 Jun 2004 14:44:25 -0400	[thread overview]
Message-ID: <40C75A89.4020002@sun.com> (raw)
In-Reply-To: <E1B7C89B8DCB084C809A22D7FEB90B3841AA@frodo.avalon.ru>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dimitry V. Ketov wrote:
>>-----Original Message-----
>>From: autofs-bounces@linux.kernel.org
>>
>>If the idea is to have a 'Network Neighborhood' inside each
>>user's homedir, you could write an executable map for /home
>
>
> It will hide /home directory content.

No. It wouldn't presuming that your /home subdirs are automounted.  The
script would basically transform map entries like:

mikew	-wsize=32768,rsize=32768  homedirserver:/export/home/mikew

Into:
mikew	-wsize=32768,rsize=32768  homedirserver:/export/home/mikew \
  /NetworkNeighborhood	-fstype=autofs,Duser=mikew /etc/auto_nn

which is a valid multimount and should be handled correctly by automount 4.

>
>
>>(not tested..):
>
>
>>key = shift
>
> Did you mean key=$1 ?
>

Sure.


>
>>entry = `ypcat $KEY -k`
>
> What did you mean for $KEY? What is supposed to assign to the 'entry'
> variable?
>

I meant $key.

>
>>if [ $? == 0 ] ; then
>>   echo $entry " /NetworkNeighborhood -Duser=$key /etc/auto_nn"
>>   exit 0
>>fi;
>>exit 1
>>
>>And then use a auto_nn executable map for generating the
>>Neighborhood contents.
>
>
>
> _______________________________________________
> autofs mailing list
> autofs@linux.kernel.org
> http://linux.kernel.org/mailman/listinfo/autofs


- --
Mike Waychison
Sun Microsystems, Inc.
1 (650) 352-5299 voice
1 (416) 202-8336 voice
mailto: Michael.Waychison@Sun.COM
http://www.sun.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTICE:  The opinions expressed in this email are held by me,
and may not represent the views of Sun Microsystems, Inc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAx1qIdQs4kOxk3/MRAk0/AJ0bw0kqFk4qX72h6q+TULhM7qxWYACdENrq
N9IAdc+f5D9aeu2VG3g4DQ8=
=Rp37
-----END PGP SIGNATURE-----

  reply	other threads:[~2004-06-09 18:44 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-09 18:10 Exporting UID to userspace? Dimitry V. Ketov
2004-06-09 18:44 ` Mike Waychison [this message]
2004-06-10  1:13   ` Ian Kent
  -- strict thread matches above, loose matches on Subject: below --
2004-06-10 16:14 Dimitry V. Ketov
2004-06-10 16:59 ` Mike Waychison
2004-06-10 14:55 Dimitry V. Ketov
2004-06-10 15:54 ` Mike Waychison
2004-06-08 17:47 Dimitry V. Ketov
2004-06-08 18:20 ` Robin Rosenberg
2004-06-07 12:45 Dimitry V. Ketov
2004-06-07 16:06 ` Mike Waychison
2004-06-07 22:53   ` Robin Rosenberg
2004-06-07 12:38 Dimitry V. Ketov
2004-06-08  1:15 ` Ian Kent
2004-06-08 13:12   ` Brian Long
2004-06-08 16:28     ` raven
2004-06-08 18:45       ` Mike Waychison
2004-06-05 14:00 Dimitry V. Ketov
2004-06-05 15:47 ` raven
2004-06-05 15:52   ` raven
2004-06-05 17:11     ` Robin Rosenberg
2004-06-05 17:49       ` Ian Kent
2004-06-05 20:13         ` Robin Rosenberg

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=40C75A89.4020002@sun.com \
    --to=michael.waychison@sun.com \
    --cc=Dimitry.Ketov@avalon.ru \
    --cc=autofs@linux.kernel.org \
    /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.