9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Stanley Lieber <sl@9front.org>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>,
	Ole-Hjalmar Kristensen <ole.hjalmar.kristensen@gmail.com>
Subject: Re: [9fans] Maintenance of an auth server files vs a dns+dhcp+tftp	server
Date: Tue, 15 Nov 2016 15:06:55 -0500	[thread overview]
Message-ID: <f5877d2a-8bdc-4e52-9d36-7ae0cbbf5b79@email.android.com> (raw)
In-Reply-To: <CAHqDL__e6BCxfExv9FqnPU82Ow8Oa9q5nVgBPi-No2CpECBVYg@mail.gmail.com>

Ole-Hjalmar Kristensen <ole.hjalmar.kristensen@gmail.com> wrote:

>On Tue, Nov 15, 2016 at 8:05 PM, Stanley Lieber <sl@9front.org> wrote:
>
>> "James A. Robinson" <jim.robinson@gmail.com> wrote:
>>
>> >So in a canonical installation the auth server mounts its root from
>the
>> >file server?
>> >
>> >On Tue, Nov 15, 2016 at 10:47 AM Stanley Lieber <sl@9front.org>
>wrote:
>> >
>> >> The idea is that there is one file system shared by all the
>> >neighboring
>> >> systems. The canonical Plan 9 installation comprises one disk file
>> >server
>> >> and many diskless computing machines (auth servers, cpu servers,
>> >terminals).
>> >>
>>
>> Yes. You can arrange for hands-free booting by storing  the same
>> authid/authdom/password in the nvram of both the file server and the
>auth
>> server. I usually boot the auth server from a 9fat partition or a USB
>key,
>> then tcp (actually, tls) mount the root file system from the file
>server.
>>
>> sl
>>
>>
>Is this the reason that it is actually possible to boot a combined
>auth/cpu/file server at all? I mean, the auth server stores /adm/keys
>on
>the file server, right? And normally you would need to authenticate
>yourself to attach to the file server, which would be kind of
>difficult,
>since it is the auth server that is trying to access the key file...
>
>Ole-Hj.

Yes. File server boots and loads it's key from nvram into factotum. Auth server does the same. If both credentials match, the two machines will agree to talk to each other. The ticket is "forged" and factotum realizes it has enough information to perform the authentication without needing to consult the actual auth server.

sl




  reply	other threads:[~2016-11-15 20:06 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-15 17:00 James A. Robinson
2016-11-15 17:10 ` Steve Simon
2016-11-16  0:21   ` cinap_lenrek
2016-11-16  0:24     ` James A. Robinson
2016-11-15 18:47 ` Stanley Lieber
2016-11-15 18:53   ` James A. Robinson
2016-11-15 19:05     ` Stanley Lieber
2016-11-15 19:22       ` James A. Robinson
2016-11-15 19:52       ` Ole-Hjalmar Kristensen
2016-11-15 20:06         ` Stanley Lieber [this message]
2016-11-15 20:12         ` cinap_lenrek
2016-11-16 13:21       ` Anthony Sorace
2016-11-16 15:31         ` Stanley Lieber

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=f5877d2a-8bdc-4e52-9d36-7ae0cbbf5b79@email.android.com \
    --to=sl@9front.org \
    --cc=9fans@9fans.net \
    --cc=ole.hjalmar.kristensen@gmail.com \
    /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).