9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] factotum question
Date: Fri, 28 Sep 2007 07:23:03 -0400	[thread overview]
Message-ID: <6e438ba8ad35faed7afd72d1dbd6403a@quanstro.net> (raw)
In-Reply-To: <10b109140709280312h379d71cfm107d2c0c5cc5b970@mail.gmail.com>

> 1. On console of my auth/cpu/file server I did as user bootes: "cat
> /mnt/factotum/ctl"
>    And I could see some keys stored there.
>
> 2. I connect to the same server with drawterm, login as bootes and
> type the same command.
>    But there are no keys stored there.
> Why?

the kernel starts factotum for the hostowner but if you
drawterm in you need to start your own factotum.  generally
this is done from $home/lib/profile.  i think glenda's profile is
missing this case.  this is what i have

[...]
case cpu
	if (test -e /mnt/term/mnt/wsys) {
		# rio already running
		wsys = /mnt/term^`{cat /mnt/term/env/wsys}
		bind -a /mnt/term/mnt/wsys /dev
		if(test -f /mnt/term/dev/label)
			echo -n $sysname > /mnt/term/dev/label
		prompt=($sysname^'; ') ; fn $sysname {}
	}
	bind /mnt/term/dev/cons /dev/cons
	bind /mnt/term/dev/consctl /dev/consctl
	bind -a /mnt/term/dev /dev
	news
	if (! test -e /mnt/term/mnt/wsys) {
		# cpu call from drawterm
		plumber
		auth/factotum
		exec rio
	}
}

- erik



  parent reply	other threads:[~2007-09-28 11:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-28 10:12 Antonin Vecera
2007-09-28 10:39 ` Gabriel Diaz
2007-09-28 11:25   ` Antonin Vecera
2007-09-29 13:24     ` Antonin Vecera
2007-09-28 11:23 ` erik quanstrom [this message]
2009-03-10 23:01 David Leimbach
2009-03-11  0:05 ` Russ Cox
2009-03-11  0:30 ` Skip Tavakkolian
2009-03-11  2:37   ` David Leimbach

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=6e438ba8ad35faed7afd72d1dbd6403a@quanstro.net \
    --to=quanstro@quanstro.net \
    --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).