9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] cpu/auth/file servers
@ 2014-11-19 13:18 Peter Hull
  2014-11-19 14:30 ` erik quanstrom
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Hull @ 2014-11-19 13:18 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I've had some success setting up and using plan9 standalone and I have
moved on to trying a networked configuration.

Following the instructions I have set up a combined  cpu/auth server,
and a terminal booting with PXE.

When I boot my terminal it asks for my username (no password) and
starts rio. I can then access my home directory as read-only. I then
run 'cpu', which asks me for a password, and then I can write  my
files.

This doesn't seem right and I think the problem is that I don't really
understand how it's supposed to work. The terminal needs to see the
cpu's filesystem because that's where its root filesystem is coming
from but it shouldn't be able to get to files in /usr/ without a
password, surely. I've used X terminals in the past and I suppose I am
expecting some sort of XDMCP prompt like that.

Can anyone enlighten me or point to the appropriate place in the docs?

Thanks very much,
Pete



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

* Re: [9fans] cpu/auth/file servers
  2014-11-19 13:18 [9fans] cpu/auth/file servers Peter Hull
@ 2014-11-19 14:30 ` erik quanstrom
  2014-11-19 15:00   ` Peter Hull
  0 siblings, 1 reply; 5+ messages in thread
From: erik quanstrom @ 2014-11-19 14:30 UTC (permalink / raw)
  To: 9fans

> When I boot my terminal it asks for my username (no password) and
> starts rio. I can then access my home directory as read-only. I then
> run 'cpu', which asks me for a password, and then I can write  my
> files.

is your file server in allow mode?  or are you really booting a cpu server
with nvram?

- erik



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

* Re: [9fans] cpu/auth/file servers
  2014-11-19 14:30 ` erik quanstrom
@ 2014-11-19 15:00   ` Peter Hull
  2014-11-21 12:12     ` Peter Hull
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Hull @ 2014-11-19 15:00 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Wed, Nov 19, 2014 at 2:30 PM, erik quanstrom <quanstro@quanstro.net> wrote:
> is your file server in allow mode?  or are you really booting a cpu server
> with nvram?
The latter (I think) - the same system is the cpu, auth and file server.
I've got
bootfile=ether0!/386/9pcf
nobootprompt=tcp
in the terminal's plan9.ini

I've been using this document :
http://plan9.bell-labs.com/wiki/plan9/expanding_your_grid/index.html
and I am between 'level 2' and 'level 3' I suppose.

Pete



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

* Re: [9fans] cpu/auth/file servers
  2014-11-19 15:00   ` Peter Hull
@ 2014-11-21 12:12     ` Peter Hull
  2014-11-21 14:30       ` erik quanstrom
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Hull @ 2014-11-21 12:12 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Wed, Nov 19, 2014 at 3:00 PM, Peter Hull <peterhull90@gmail.com> wrote:
> On Wed, Nov 19, 2014 at 2:30 PM, erik quanstrom <quanstro@quanstro.net> wrote:
> I've been using this document :
> http://plan9.bell-labs.com/wiki/plan9/expanding_your_grid/index.html
Not had the "AHA!" moment promised in this document...

Do I need to run the terminal as user None (and specify that as the
default in plan9.ini) so that the 'real' user can log on to the cpu
server with their credentials after rio has started?

I see how it would work where the terminal has some local resources
that are useful (including where you use drawterm from another OS) -
log onto the local terminal then log on to the cpu - but in the PXE
boot case the terminal isn't supposed to have any local storage or
even much processing power.

Pete



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

* Re: [9fans] cpu/auth/file servers
  2014-11-21 12:12     ` Peter Hull
@ 2014-11-21 14:30       ` erik quanstrom
  0 siblings, 0 replies; 5+ messages in thread
From: erik quanstrom @ 2014-11-21 14:30 UTC (permalink / raw)
  To: 9fans

> Do I need to run the terminal as user None (and specify that as the
> default in plan9.ini) so that the 'real' user can log on to the cpu
> server with their credentials after rio has started?

log into a terminal as yourself.  this way you are yourself on the file
server, and have expanded permissions.  the old arguments from unix apply.

> I see how it would work where the terminal has some local resources
> that are useful (including where you use drawterm from another OS) -
> log onto the local terminal then log on to the cpu - but in the PXE
> boot case the terminal isn't supposed to have any local storage or
> even much processing power.

my terminal is often much faster than the cpu server.  here the old arguments
from the plan 9 papers do not apply.  (well they do in some big environments,
but that's a different story.)  the main resource your terminal needs is a kbd and
mouse.

- erik



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

end of thread, other threads:[~2014-11-21 14:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-19 13:18 [9fans] cpu/auth/file servers Peter Hull
2014-11-19 14:30 ` erik quanstrom
2014-11-19 15:00   ` Peter Hull
2014-11-21 12:12     ` Peter Hull
2014-11-21 14:30       ` erik quanstrom

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