9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@coraid.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] keyfs warnings
Date: Tue,  1 May 2007 09:13:58 -0400	[thread overview]
Message-ID: <bf908c8c562167f0acedb663f4141b23@coraid.com> (raw)
In-Reply-To: <20070501125658.GK2624@hermes.my.domain>

> 
> - overwriting my nvram with bla

i think what you have should work, but i think you'd rather zero
out the whole file:

	dd -if /dev/zero -of /n/9fat/plan9.nvr -count 1

> - truncating the /adm/keys file with echo '' > /adm/keys
> - rebooting, filling in password and secstore phrase
> - killing keyfs
> - starting auth/keyfs on the server console

i don't understand this step.  if keyfs is running on the console
of your auth server, restarting it shouldn't make any difference.

(you should always be dealing with keyfs and changeuser from the
console of the auth server.)

> - creating new keys with auth/changeuser for bootes and another user
> - rebooting
> 
> After that I am able to log in as bootes but not the other user (the
> user is present on the fossil filesystem)

where are you "logging in" from.  i assume, since you mentioned this
is a combined fs/cpu/auth server, that you are drawterming in from
another machine?

> 
> When I now kill/restart keyfs on the server keyfs prints the
> following warnings:
> % auth/keyfs
> keyfs: warning: bad status in key file
> keyfs: warning: bad status in key file
> keyfs: warning: bad status in key file
> 4 keys read
> 
> 1. Shouldn't there be only 2 keys as I have added 2 users?
> 2. When trying to auth/debug the user login still fails
> 3. lc /mnt/keys displays garbage

what is in /mnt/keys on the console after you have just booted the machine?

- erik


  reply	other threads:[~2007-05-01 13:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-01 12:56 Christian Kellermann
2007-05-01 13:13 ` erik quanstrom [this message]
2007-05-01 15:17   ` Christian Kellermann
2007-05-01 15:19     ` C H Forsyth
2007-05-01 15:39       ` Christian Kellermann

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=bf908c8c562167f0acedb663f4141b23@coraid.com \
    --to=quanstro@coraid.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).