From: "Russ Cox" <rsc@swtch.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] authenticating local server
Date: Wed, 20 Feb 2008 13:16:58 -0500 [thread overview]
Message-ID: <20080220181652.376181E8C1C@holo.morphisms.net> (raw)
In-Reply-To: <aba952db563efa06a7f0482d87d10f21@quintile.net>
> 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.
the short answer is no.
the longer answer involves subverting the authentication
system via speaksfor and /dev/caphash.
russ
prev parent reply other threads:[~2008-02-20 18:16 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
2008-02-20 18:16 ` Russ Cox [this message]
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=20080220181652.376181E8C1C@holo.morphisms.net \
--to=rsc@swtch.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).