9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: okamoto@granite.cias.osakafu-u.ac.jp
To: 9fans@cse.psu.edu
Subject: Re: [9fans] logout from cpu server
Date: Fri, 25 Jul 2003 18:12:25 +0900	[thread overview]
Message-ID: <af50743d94850b9468ff998d42cfbde8@granite.cias.osakafu-u.ac.jp> (raw)
In-Reply-To: <20030725103100.N28024@cackle.proxima.alt.za>

> Here is what it used to look like:
> 
> for(;;){
> 	if(iscpu){
> 		consctl = open("#c/consctl", OWRITE);
> 		key = open("#c/key", OREAD);
> 		if(consctl<0 || key<0 || write(consctl, "rawon", 5) != 5)
> 			print("init: can't check password; insecure\n");
> 		else{
> 			pass(key);
> 			write(consctl, "rawoff", 6);
> 		}
> 		close(consctl);
> 		close(key);
> 	}
> 	print("\ninit: starting /bin/rc\n");
> 	fexec(rcexec);
> 	manual = 1;
> 	cmd = 0;
> 	sleep(1000);
> }
> 
> And here is the new one:
> 
> for(;;){
> 	print("\ninit: starting /bin/rc\n");
> 	fexec(rcexec);
> 	manual = 1;
> 	cmd = 0;
> 	sleep(1000);
> }

I tried this, and failed. ☺

The error messages are as follows:

peridotite# Ctl-d
init: rc exit status: rc 106: false
init: can't check password; insecure

init: starting /bin/rc
peridotite#

Hmm... Once again I'm seeing the cpu server's prompt!, even if
I did not enter the right password!

Kenji



  reply	other threads:[~2003-07-25  9:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-25  8:02 okamoto
2003-07-25  8:19 ` C H Forsyth
2003-07-25  8:20   ` okamoto
2003-07-25  8:24     ` Charles Forsyth
2003-07-25  8:31     ` Lucio De Re
2003-07-25  9:12       ` okamoto [this message]
2003-07-25  9:38         ` Lucio De Re
2003-07-26  0:37           ` David Presotto
2003-07-26  3:29             ` boyd, rounin
2003-07-25  8:26 ` Fco.J.Ballesteros
2003-07-25  8:30   ` okamoto

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=af50743d94850b9468ff998d42cfbde8@granite.cias.osakafu-u.ac.jp \
    --to=okamoto@granite.cias.osakafu-u.ac.jp \
    --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).