9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] drawterm to a cpu server without authentication
@ 2012-08-08 21:53 John Floren
  2012-08-09  5:06 ` David du Colombier
  0 siblings, 1 reply; 2+ messages in thread
From: John Floren @ 2012-08-08 21:53 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I'm playing around with booting a cpu kernel in qemu, and I'd like to
be able to drawterm to it for testing stuff. However, as it is it
seems that I need to specify an auth server. sources.cs.bell-labs.com
works, but that's clunky and depending on my networking situation not
always an option.

Is there a way to boot a cpu server such that it will just accept
connections from anyone, without authentication? Sort of like how you
can connect to sources as "none", except for cpu.


john



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

* Re: [9fans] drawterm to a cpu server without authentication
  2012-08-08 21:53 [9fans] drawterm to a cpu server without authentication John Floren
@ 2012-08-09  5:06 ` David du Colombier
  0 siblings, 0 replies; 2+ messages in thread
From: David du Colombier @ 2012-08-09  5:06 UTC (permalink / raw)
  To: 9fans

> Is there a way to boot a cpu server such that it will just accept
> connections from anyone, without authentication? Sort of like how you
> can connect to sources as "none", except for cpu.

It is already implemented, but not enabled by default.

In /sys/src/cmd/cpu.c, uncomment the following line:

//	{ "none",	noauth,		srvnoauth,},

Then, you can:

aux/listen1 tcp!*!17010 cpu -R -a none

And:

cpu -h 127.1 -a none

--
David du Colombier



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

end of thread, other threads:[~2012-08-09  5:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-08 21:53 [9fans] drawterm to a cpu server without authentication John Floren
2012-08-09  5:06 ` David du Colombier

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