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] Drawterm and security
Date: Sat, 19 Feb 2005 11:52:44 -0800	[thread overview]
Message-ID: <8e10ef025f295ae275886fa840d1bc1b@9netics.com> (raw)
In-Reply-To: <20050219183814.GISZ2048.imf19aec.mail.bellsouth.net@p1.stuart.org>

With drawterm, everything is running on the cpu, and drawterm
is just 'exportfs'ing your local namespace (for things like keyboard,
mouse, etc.) I'm guessing that YOUR factotum (your authentication
agent) is not running.  I've attached dt_factotum, which I
got from geoff.  You run it on the cpu (in you're drawterm session),
once you've successfully drawterm'ed in.

term% cat $home/bin/rc/dt_factotum
#!/bin/rc

if (! test -f /srv/factotum.$user)
	auth/factotum -s factotum.$user
mount -b /srv/factotum.$user /mnt

> I'm about to drive my fist through the monitor.  I think
> I'm generally a fairly intelligent person and I generally
> understand the Plan9 paper on security, but I'm having
> a serious disconnect between that and how it's implemented
> in practice.  Last night I was successfully connected between
> a Linux box and my Plan9 file/cpu server with drawterm.
> This morning I realized that I was unable to authenticate
> to sources from the fs/cpu server so started to try to
> fix my /lib/ndb/local to address the problem.  Nothing
> seemed to work and worse yet, now drawterm is broken with
> the infamous "cannot authenticate with p9" message even when
> returning to the same /lib/ndb/local.  What exactly are the
> necessary and sufficient conditions for making drawterm work
> and likewise for access to sources?  auth/debug appears to be
> fine and /sys/log/auth also seems fine.  I'm assuming that the
> auth=sources... line must be there.  Does it break things to
> have additional auth=bootes and authdom=home in the section
> that describes the local net?  factotum is the only piece of
> the current security system that hasn't seemed like black
> magic to me.  Any wisdom is welcome.  Even a recipe would
> be welcome at this point.
>
> Brian L. Stuart



  parent reply	other threads:[~2005-02-19 19:52 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-19 18:37 Brian L. Stuart
2005-02-19 18:48 ` andrey mirtchovski
2005-02-19 21:00   ` Brian L. Stuart
2005-02-19 18:58 ` Russ Cox
2005-02-19 19:15   ` blstuart
2005-02-19 19:20     ` Russ Cox
2005-02-19 20:24       ` blstuart
2005-02-19 20:34         ` andrey mirtchovski
2005-02-19 19:20   ` [9fans] Venti security in view of SHA-1 exploit Paul Lalonde
2005-02-19 19:26     ` andrey mirtchovski
2005-02-19 19:35       ` Paul Lalonde
2005-02-19 20:14         ` Tim Newsham
2005-02-20  4:24           ` Karl Magdsick
2005-02-19 20:15     ` Russ Cox
2005-02-19 22:25       ` boyd, rounin
2005-02-19 22:44         ` [9fans] Venti security in view of SHA-1 exploity William Josephson
2005-02-19 22:48           ` boyd, rounin
2005-02-20 18:08             ` William Josephson
2005-02-19 23:21         ` [9fans] Venti security in view of SHA-1 exploit Bruce Ellis
2005-02-20  1:00           ` Tim Newsham
2005-02-20  3:53           ` Karl Magdsick
2005-02-19 19:52 ` Skip Tavakkolian [this message]
2005-02-19 19:11   ` [9fans] Drawterm and security blstuart
2005-02-21 11:30   ` Robert Raschke
2005-02-21 19:20     ` geoff
     [not found] <Pine.BSI.4.61.0502191055110.3971@malasada.lava.net>
2005-02-19 21:09 ` Brian L. Stuart
2005-02-19 22:42   ` Russ Cox
2005-02-19 23:37     ` Brian L. Stuart

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=8e10ef025f295ae275886fa840d1bc1b@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).