9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Steve Simon" <steve@quintile.net>
To: 9fans@cse.psu.edu
Subject: [9fans] u9fs authentication
Date: Thu, 27 Dec 2007 19:52:21 +0000	[thread overview]
Message-ID: <fa287a82cd291fbd0d1facf38042d3f1@quintile.net> (raw)

Once again I have to admit I don't really understand plan9 authentication,
can anyone help?

I want to use p9sk1 authentication to a u9fs server on a mac. I have set
up the server OK (launchd etc), but I cannot get the authentication to work.

I want to have a seperate password for the mac - I don't want to have to keep
bootes cleartext password on the mac (even if it is readable only by root). I
am not even sure if this is possible, however this is what I tried.

What I tried was to do was to create a plan9 account (powerbook) specifically
for my mac.


on the host 'mac' /etc/u9fs.keys contains:
	macpassword
	powerbook
	plan9.authentication.dom

I used auth/secuser to set the password for powerbook to macpassword on the auth
server's console.

then I try to connect to it using:


	% srv -s mac mac
	post...
	% mount -k 'user=powerbook' /srv/mac /n/mac

	# fgui un-hides here and I enter the password

	mount: auth_proxy: auth_proxy write fd: protocol botch
	mount: mount /n/mac: authentication failed

anyone any ideas?

Thanks, Steve


             reply	other threads:[~2007-12-27 19:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-27 19:52 Steve Simon [this message]
2007-12-27 16:03 ` Russ Cox
2007-12-27 23:42   ` Steve Simon

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=fa287a82cd291fbd0d1facf38042d3f1@quintile.net \
    --to=steve@quintile.net \
    --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).