9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] u9fs authentication
  2007-12-27 19:52 [9fans] u9fs authentication Steve Simon
@ 2007-12-27 16:03 ` Russ Cox
  2007-12-27 23:42   ` Steve Simon
  0 siblings, 1 reply; 3+ messages in thread
From: Russ Cox @ 2007-12-27 16:03 UTC (permalink / raw)
  To: 9fans

> 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:

This would have worked except that auth/secuser
edits secure store users.  You wanted auth/changeuser.

Russ


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [9fans] u9fs authentication
@ 2007-12-27 19:52 Steve Simon
  2007-12-27 16:03 ` Russ Cox
  0 siblings, 1 reply; 3+ messages in thread
From: Steve Simon @ 2007-12-27 19:52 UTC (permalink / raw)
  To: 9fans

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] u9fs authentication
  2007-12-27 16:03 ` Russ Cox
@ 2007-12-27 23:42   ` Steve Simon
  0 siblings, 0 replies; 3+ messages in thread
From: Steve Simon @ 2007-12-27 23:42 UTC (permalink / raw)
  To: 9fans

> This would have worked except that auth/secuser
> edits secure store users.  You wanted auth/changeuser.

hell!

Thanks for that it works now,
I'al do a wiki page as penance.

-Steve


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-12-27 23:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-27 19:52 [9fans] u9fs authentication Steve Simon
2007-12-27 16:03 ` Russ Cox
2007-12-27 23:42   ` Steve Simon

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).