9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "John Floren" <slawmaster@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] auth/changeuser problems
Date: Sun, 25 Feb 2007 17:25:33 -0500	[thread overview]
Message-ID: <7d3530220702251425k14d28b2ci87d63bc8722f6279@mail.gmail.com> (raw)
In-Reply-To: <b7735965905b038155892859803a435a@coraid.com>

On 2/25/07, erik quanstrom <quanstro@coraid.com> wrote:
> On Sun Feb 25 16:17:24 EST 2007, slawmaster@gmail.com wrote:
> > I've got a cpu/auth/file server set up here, but when I try to run
> > auth/keyfs through drawterm, I get the following error message:
> > readnvram: couldn't find nvram
> > can't read /dev/key, please enter machine key
> > Password:
> >
> > What might be the problem here? It *looks* like the nvram partition
> > may have gotten messed up; should I try going to the console and
> > resetting the partition?
>
> here are two quick guesses.  i'd imagine that #1 is it.
>
> 1.  the cpu/auth/fileserver should be running keyfs from cpurc.
> likely you are not the hostowner when drawtermed in and thus
> don't have permissions to /dev/sd??/nvram.
>
> 2. you don't have an 1-block "nvram" partition in your plan 9 partition table.
>
> - erik
>

Well, I know for a fact that I have an nvram partition--I can see it
in /dev/sdC0, and if I 'cat' it there /is/ some data.

As for keyfs not running, ps | grep keyfs gives me this:
bootes           66    0:00   0:00      100K Pread    keyfs
bootes          235    0:00   0:00      100K Pread    keyfs
The low PID on the first keyfs makes me think it was launched by
cpurc, which does in fact contain a line to start keyfs. I've also
restarted the machine remotely using the 'echo reboot /386/9pccpuf >
/dev/reboot' trick and the problem persists.

The reason I'm trying to run auth/keyfs as a normal user is so I can
run auth/changeuser to change my password. What's the deal with
"passwd", anyway? Although that's the obvious choice for changing my
password, when I try to run it I get the message "passwd: protocol
botch: cs: can't translate service".


John
-- 
Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn


  reply	other threads:[~2007-02-25 22:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-25 21:11 John Floren
2007-02-25 22:12 ` erik quanstrom
2007-02-25 22:25   ` John Floren [this message]
2007-02-25 22:31     ` erik quanstrom
2007-02-26 22:05       ` john
2007-02-26  1:02 ` Steve Simon
2007-02-26  1:48   ` john

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=7d3530220702251425k14d28b2ci87d63bc8722f6279@mail.gmail.com \
    --to=slawmaster@gmail.com \
    --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).