9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Stephen Wynne <stevemw@place.org>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans]
Date: Sun,  4 Jul 2004 21:06:38 -0700	[thread overview]
Message-ID: <40E8D3CE.6000802@place.org> (raw)
In-Reply-To: <dbf6ecba4e60366df03335b15b1844a8@plan9.ucalgary.ca>

andrey mirtchovski wrote:

 > you won't need a secstore for your installation to work.

OK, I guess I don't need it for connecting with drawterm,
either. But apparently I need it for SSH and pulling
updates. I may also need it for other stuff. I'm running
an app that makes a call to auth_getuserpasswd() and it
fails now that I've tried to setup securestore; it used to
get past that point before.

 > check the /sys/doc/auth.ps paper (also on Bell-Labs'
 > site) secstore/factotum pair

Well, . Here's where I am now:

On my terminal via a drawterm connection (I haven't
recompiled for more GUI support yet), I'm following
http://pages.cpsc.ucalgary.ca/~mirtchov/lanlp9/tips.html
on setting up secstore.

The mkdirs were done before.  One small issue, factotum
wanted /adm/secstore/store/bootes/factotum/ (I think it
was).

 > on auth server:
 >
 >     auth/secstored
 >     mkdir /adm/secstore
 >     mkdir /adm/secstore/store
 >     mkdir /adm/secstore/who
 >     auth/secuser dpx
 >
 > on terminal:
 >
 >     touch /tmp/factotum
 >     auth/secstore -p /tmp/factotum
 >       ramfs -p; cd /tmp
 >     auth/secstore -g factotum
 >     secstore password:
 >     echo 'key proto=apop dom=x.com user=dpx \
 >             !password=y~1' >> factotum
 >     auth/secstore -p factotum
 >     secstore password:
 >     cat factotum > /mnt/factotum/ctl

This is where I'm still stuck.

 > you'll need to have both auth/secstored and
 > auth/factotum started.

I do, but there must be something else wrong. I found one
thing: my lib/ndb/local file still had localhost and
127.0.0.1 as the sys'name from my initial fumbling around
to get it online.

Now I get to the ramfs stage! However, secstore -g complains
about /tmp/factotum not existing. If I skip the
ramfs step, I see this:

    cpu% auth/secstore -g factotum
    secstore password:
    secstore
    implausible filesize for factotum
    secstore cmd failed

On the console of the PC, I see "implausible filesize -1
for factotum," but no information about which file is too
small.

This is what I have in /mnt/factotum:

    cpu% pwd
    /mnt/factotum
    cpu% cat ctl
    key proto=p9sk1 user=bootes dom=9net !hex? !password?
    cpu% ls -l
    -lrw------- M 48 bootes bootes 0 Jul  4 23:46 confirm
    --rw-r--r-- M 48 bootes bootes 0 Jul  4 23:46 ctl
    -lr-------- M 48 bootes bootes 0 Jul  4 23:46 log
    -lrw------- M 48 bootes bootes 0 Jul  4 23:46 needkey
    --r--r--r-- M 48 bootes bootes 0 Jul  4 23:46 proto
    --rw-rw-rw- M 48 bootes bootes 0 Jul  4 23:46 rpc

 > it's like riding a bycicle -- once you do it you'll
 > always know how it's done :)

I'm still trying to bolt on my training wheels, I think.
But thanks for your patience!


  reply	other threads:[~2004-07-05  4:06 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-25 17:30 [9fans] which register is used as FP on the x86 ron minnich
2004-06-25 17:53 ` rog
2004-06-26 11:56   ` Andrew Lynch
2004-06-26 12:35     ` Latchesar Ionkov
2004-06-26 12:35     ` Charles Forsyth
2004-06-26 14:27   ` Latchesar Ionkov
2004-06-26 17:31     ` Charles Forsyth
2004-07-03  7:17 ` [9fans] cpuserver: dhcp for authsrv, rio, users, ssh, factotum, pull Stephen Wynne
2004-07-03 16:37   ` [9fans] andrey mirtchovski
2004-07-05  4:06     ` Stephen Wynne [this message]
2004-07-05 17:23       ` [9fans] andrey mirtchovski
2004-07-05 20:33       ` [9fans] Eric Grosse
  -- strict thread matches above, loose matches on Subject: below --
2023-05-10 22:33 [9fans] Romano
2023-05-10 23:51 ` [9fans] Dan Cross
2023-04-21 13:33 [9fans] Thaddeus Woskowiak
2023-04-27 23:13 ` [9fans] Lyndon Nerenberg (VE7TFX/VE6BBM)
2020-10-21  0:17 Steve Simon
2020-10-21  3:45 ` [9fans] Lucio De Re
2013-04-09  0:12 [9fans] [ Ashish Raste
2006-11-14  3:23 [9fans] Creating a custom jmp_buf; libthread implementation question Joel Salomon
2006-11-14  5:44 ` [9fans] Skip Tavakkolian
2006-01-05 19:50 [9fans] marina
2006-01-05 20:34 ` [9fans] andrey mirtchovski
2004-07-20  8:36 [9fans] ÊÀ½ç×î¾ß¹æÄ£µÄ¹âµçÕ¹ÀÀ»á³ÏÑûÄúµÄ²ÎÓ룡 €й€€ⲩ€€_€Ź€ӡ
2001-08-23  2:41 [9fans] usb floppy Boyd Roberts
2001-08-23  3:52 ` [9fans] :) andrey mirtchovski
1997-10-17 16:07 [9fans] Scott
1997-10-17 12:27 [9fans] Boyd
1997-10-17  9:40 [9fans] Steve_Kilbane
1997-10-17  8:51 [9fans] Lucio
1997-10-17  8:00 [9fans] Boyd

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=40E8D3CE.6000802@place.org \
    --to=stevemw@place.org \
    --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).