9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Alexander Povolotsky <ap80@lucent.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Mail on cpu/auth server
Date: Tue,  5 Jun 2001 08:26:51 +0000	[thread overview]
Message-ID: <9fh4ks$5ou@nntpb.cb.lucent.com> (raw)
In-Reply-To: <Pine.LNX.4.30.0106041419420.22193-100000@pali.cps.cmich.edu>

When I am creating a new user (say guest) using auth/changeuser  I could see
this message Ishwar mentioned:
keysfs: bad status key in file

But at least it creates the keyfile and creates the password ...
For already existant users (glenda, adm, sys etc ) I somehow lost keys at
some point (do not remember exactly how ...)
and now if  I am trying to recreate keys for those users using
auth/changeuser - it fails with the error message:
changeuser: can't create user "such and such": access permission denied.
By the way, I do not have password set for those preexistant ones - how I
could set password for those ?

So, anyway, now I could reboot the system and log as guest with supplying
the password ...
Ok, I am looged in ...

Running auth/keyfs -p
Password: <such and such>

Works ...kind of ... but with the warning again: bad status in key file ...

Ok ... going further ...

aux/listen tcp
auth/listen -t /rc/bin/service.auth

No errors or warnings ...

Now I am starting the drawterm on my Solaris machine:

yarmouth$ drawterm -a 135.17.241.14 -c 135.17.241.14
default depth=8
yarmouth$ !!
drawterm -a 135.17.241.14 -c 135.17.241.14
default depth=8

The drawterm window shows up with user "none" - changing to guest ..
Supplying the password ...

Getting  ...
?AS protocol botch: file does not exist.

Any hints ?


"Ish Rattan" <ishwar@pali.cps.cmich.edu> wrote in message
news:Pine.LNX.4.30.0106041419420.22193-100000@pali.cps.cmich.edu...
> On Mon, 4 Jun 2001, Jonathan Sergent wrote:
>
> > On Monday, June 4, 2001, at 09:33 AM, Ish Rattan wrote:
> >
> > > I see the follwing messages in /sys/log/cron
> > >
> > > host Jun 4 06:52:04 upas: key not found
> > >
> > > similar message generated every 10 minutes. What key is it referring
to?
> >
> > The one for upas.  auth/changeuser upas to give it a key so that cron
> > can authenticate as upas.  cron must run only on your auth server so
> > that it can authenticate as the right user.  It does an rx to the target
> > host to run the command.
> An attempt to use auth/changeuser upas
> Passord:
> Confirm ..:
> keysfs: bad status key in file
> ...
> 6 keys read
> Post id:
>
> Did 3/27/01 upgrade has anything to do with it?
>
> Also, what happens if I just remove adm/keys and /adm/keys.who and
> recreate them with auth/changeuser???
>
> - ishwar


  reply	other threads:[~2001-06-05  8:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-04 16:33 [9fans] Mial " Ish Rattan
2001-06-04 17:17 ` Jonathan Sergent
2001-06-04 18:24   ` [9fans] Mail " Ish Rattan
2001-06-05  8:26     ` Alexander Povolotsky [this message]
2001-06-05  4:23 Jonathan Sergent

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='9fh4ks$5ou@nntpb.cb.lucent.com' \
    --to=ap80@lucent.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).