9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] Authentication and "emu -d"
@ 2001-06-04 11:56 presotto
  0 siblings, 0 replies; 6+ messages in thread
From: presotto @ 2001-06-04 11:56 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 141 bytes --]

If you want something running as a user that a system can't authenticate
as, you can always start it from cron instead of cpurc or listen.

[-- Attachment #2: Type: message/rfc822, Size: 2892 bytes --]

From: Lucio De Re <lucio@proxima.alt.za>
To: inferno@research.suspicious.org, 9fans mailing list <9fans@cse.psu.edu>
Subject: [9fans] Authentication and "emu -d"
Date: Mon, 4 Jun 2001 10:51:27 +0200
Message-ID: <20010604105127.C26399@cackle.proxima.alt.za>

Sorry about cross-posting, I'll try not to make a habit of it.

I would like to start Inferno services on my 3ed Plan 9 compute server
using "emu -d".  Two things get in the way:

(a) the ID of the server is "proxima" not "inferno" and that means
that some facilities I previously set up are unavailable.
Authentication is one of these.  If I can track down the
authentication keyfile, I may be able to change its permissions, but
that seems insecure _and_ requires me to put the fileserver in "allow"
mode, a mild pain.  Is there a Plan 9 way of forcing "inferno" to
execute "emu" instead of "proxima", or should I resort to making
"inferno" the compute server owner (Plan 9 AUTH does not run on that
compute server, I still use 2ed AUTH)?

(hm: I did try auth/login - besides requiring to be interactive, it
complains about being run on a compute server :-(

OK, I have now reclassified the compute server so it is owned by
"inferno".  I hope I don't have cause to regret this.  Admittedly, it
does not seem important.

(b) The -d options is wrongly documented: it expects an argument, one
of 0, 1 or 2.  It seems 1 works OK, but I'd like to know what the
other values do.

Also, starting "emu -d1" from cpurc seems to do ugly things to the
keyboard/input interface, the console no longer echoes.  And output
should probably be redirected to a log file, too.  Something for the
manual pages?

++L

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: [9fans] Authentication and "emu -d"
@ 2001-06-04 10:06 forsyth
  2001-06-04 10:36 ` Lucio De Re
  0 siblings, 1 reply; 6+ messages in thread
From: forsyth @ 2001-06-04 10:06 UTC (permalink / raw)
  To: 9fans

>>PS: Re-reading your answer, it would seem that "emu" has two closely
>>coupled functions that could do with some decoupling, namely "dis"
>>emulation and graphics (I'm reading between the lines, I get the
>>feeling "emu -d"'s failing lies in the management of interaction with
>>its environment).  Perhaps discarding the graphics baggage is an
>>option?  Sounds tough to do, for little gain, but there's something to
>>be said for text-only interactions, and Plan 9 ain't going that way,
>>perhaps Inferno can.

no, not at all, that's easy to sort out.
it's the authentication that worries me.



^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: [9fans] Authentication and "emu -d"
@ 2001-06-04  9:12 forsyth
  2001-06-04  9:45 ` Lucio De Re
  0 siblings, 1 reply; 6+ messages in thread
From: forsyth @ 2001-06-04  9:12 UTC (permalink / raw)
  To: 9fans

that really is inferno-specific, so we'll answer it in detail on that list.

i'd thought we left -d deliberately undocumented
but i see it is there in the manual page after all.

>>Also, starting "emu -d1" from cpurc seems to do ugly things to the
>>keyboard/input interface, the console no longer echoes.  And output
>>should probably be redirected to a log file, too.  Something for the

this is just the superficial reason i intended to leave it
undocumented.  it was left in the code because one group might have
been using it at the time, under Solaris, for which it was originally
hacked in (where hacked is the right description), in a hurry.  i
suppose you could wonder: if it can't cope with the console correctly,
how is it likely to do on the hard bits?  that gets close to the
truth.  it does only what it was intended to do,
but doesn't go far enough, even though they did hire a web page designer!
anyway, someone will send more about it to the inferno list later.



^ permalink raw reply	[flat|nested] 6+ messages in thread
* [9fans] Authentication and "emu -d"
@ 2001-06-04  8:51 Lucio De Re
  0 siblings, 0 replies; 6+ messages in thread
From: Lucio De Re @ 2001-06-04  8:51 UTC (permalink / raw)
  To: inferno, 9fans mailing list

Sorry about cross-posting, I'll try not to make a habit of it.

I would like to start Inferno services on my 3ed Plan 9 compute server
using "emu -d".  Two things get in the way:

(a) the ID of the server is "proxima" not "inferno" and that means
that some facilities I previously set up are unavailable.
Authentication is one of these.  If I can track down the
authentication keyfile, I may be able to change its permissions, but
that seems insecure _and_ requires me to put the fileserver in "allow"
mode, a mild pain.  Is there a Plan 9 way of forcing "inferno" to
execute "emu" instead of "proxima", or should I resort to making
"inferno" the compute server owner (Plan 9 AUTH does not run on that
compute server, I still use 2ed AUTH)?

(hm: I did try auth/login - besides requiring to be interactive, it
complains about being run on a compute server :-(

OK, I have now reclassified the compute server so it is owned by
"inferno".  I hope I don't have cause to regret this.  Admittedly, it
does not seem important.

(b) The -d options is wrongly documented: it expects an argument, one
of 0, 1 or 2.  It seems 1 works OK, but I'd like to know what the
other values do.

Also, starting "emu -d1" from cpurc seems to do ugly things to the
keyboard/input interface, the console no longer echoes.  And output
should probably be redirected to a log file, too.  Something for the
manual pages?

++L


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

end of thread, other threads:[~2001-06-04 11:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-04 11:56 [9fans] Authentication and "emu -d" presotto
  -- strict thread matches above, loose matches on Subject: below --
2001-06-04 10:06 forsyth
2001-06-04 10:36 ` Lucio De Re
2001-06-04  9:12 forsyth
2001-06-04  9:45 ` Lucio De Re
2001-06-04  8:51 Lucio De Re

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