9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Skip Tavakkolian <9nut@9netics.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] authenticating local server
Date: Tue, 19 Feb 2008 23:25:34 -0500	[thread overview]
Message-ID: <616f3e6a0d052130b48b130fa0167147@9netics.com> (raw)
In-Reply-To: <aba952db563efa06a7f0482d87d10f21@quintile.net>

since nobody well qualified has answered this, i'll go out on a limb
and answer at the risk of unleashing somebody's wrath :)

the question is confusing to me and  i'm guessing at what you are trying
to do.  you could authenticate the user,  launch a httpd for
that user and redirect the user to it.  I believe this is how pegasus
works.  then your fs on /srv could require authentication.


> Hi,
>
> I have a file server which posts a file descriptor in /srv
> the idea is that this will be run from cpurc so httpd can
> mount it.
>
> In my naive implementation the server runs as bootes so it
> has different access to files to the httpd which normally runs
> as none.
>
> I can just call becomenone() in the start of the server but is
> there a better (but not too complex) way to do this using the
> username presented to attach so my server gets the apropriate
> permissions no matter who mounts it.
>
> -Steve


  reply	other threads:[~2008-02-20  4:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-19 19:17 Steve Simon
2008-02-20  4:25 ` Skip Tavakkolian [this message]
2008-02-20 18:16 ` Russ Cox

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=616f3e6a0d052130b48b130fa0167147@9netics.com \
    --to=9nut@9netics.com \
    --cc=9fans@cse.psu.edu \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).