From: "Russ Cox" <rsc@swtch.com>
To: 9fans@9fans.net
Subject: Re: [9fans] infauth factotum bug?
Date: Fri, 9 May 2008 09:07:38 -0400 [thread overview]
Message-ID: <20080509131054.48BEE1E8C5C@holo.morphisms.net> (raw)
In-Reply-To: <20080509013114.GA4503@peregrine.cs.jhu.edu>
> OK, so how does my factotum know that bootes is the remote host owner, or
> does it just try to authenticate with that key despite that it doesn't match
> the keyspec user=nwf and see what happens?
The first step in the authentication protocol is to
exchange information about who is on what side,
and the remote side says it is bootes in the domain
acm.jhu.edu. Factotum doesn't just try the key blindly;
it knows the key is valid.
>> > Why doesn't this explanation hold for me@?
>>
>> Your user name on the terminal is nwf.
>> Factotum will vouch for you, not lie for you.
>
> OK. This is, to me, counterintuitive behavior; if I have sufficient
> credentials it's not really "lying". It seems bizarre that factotum would
> volunteer my terminal's user id, which is totally disjoint from the
> user id namespace of the cpu server.
The remote factotum has a bootes key valid for the
server role, and the local factotum has a bootes key
valid for the speakfor role. You're only supposed to
do that when the two machines are in the same authentication
domain and share their user id name space.
(That's the whole reason speakfor exists.)
If you don't want factotum to speak for you, you shouldn't
give it bootes's key in the speakfor role.
The real problem here is that cpu -k 'user=bootes'
has managed to request the key for all roles, not just
for the client role. That's the part I don't understand.
When it says !adding key, the line describing the key
should say "role=client", and if the key is added with
that tag, then you shouldn't see the behavior above.
That's why I want to see your /mnt/factotum/ctl file.
Russ
prev parent reply other threads:[~2008-05-09 13:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20080505154136.GP4503@peregrine.cs.jhu.edu>
[not found] ` <5932ecefbd9063a70069a114a0a37b26@vitanuova.com>
2008-05-06 20:38 ` Nathaniel W Filardo
2008-05-07 10:00 ` roger peppe
2008-05-08 1:16 ` Nathaniel W Filardo
2008-05-08 14:02 ` Russ Cox
2008-05-09 1:31 ` Nathaniel W Filardo
2008-05-09 1:48 ` erik quanstrom
2008-05-09 13:07 ` 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=20080509131054.48BEE1E8C5C@holo.morphisms.net \
--to=rsc@swtch.com \
--cc=9fans@9fans.net \
/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).