9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] cpu/auth auth/changeuser problems
@ 2002-09-21 20:22 Russ Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Russ Cox @ 2002-09-21 20:22 UTC (permalink / raw)
  To: 9fans

auth/keyfs should be run in cpurc, so that there is
one running for the whole machine.

Then, at the auth server, you should be able to
run auth/changeuser.

A bad character in a file name under /mnt/keys
means that you've used the wrong password.
After adding a user, you should see the user
when you do ls /mnt/keys.

Try this:

	1. decide on a auth id (say, bootes) and password
	2. run auth/wrkey to set the password
	3. run ">/adm/keys" to reset key database
	4. put "auth/keyfs -wp -m /mnt/keys /adm/keys" in your cpurc
	5. reboot your cpu server
	6. run auth/changeuser bootes and set the same password
	7. ls /mnt/keys; make sure bootes is there
	8. run auth/changeuser to create an account for yourself.

Russ


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [9fans] cpu/auth auth/changeuser problems
       [not found] <20020917160005.28078.60230.Mailman@psuvax1.cse.psu.edu>
@ 2002-09-17 19:10 ` William Gunnells
  0 siblings, 0 replies; 2+ messages in thread
From: William Gunnells @ 2002-09-17 19:10 UTC (permalink / raw)
  To: 9fans


Sorry to bug you with newbie questions. As I progress
I'm finding out that most of my problems result in
either having a bad bootes password and or improper
usage of auth/changeuser.

After following the wiki documentation for cpu/auth I
try to auth/changeuser to add bootes and william. I
have noticed that my /mnt/keys directory is all wacked
up. So I'm going in an endless circle of manual
running
auth/keyfs -wp -m /mnt/keys /adm/keys >/dev/null
>[2=1]
and auth/changeuser.

So What's the proper order. How do I correct this. I
receive a bad character in file name under /mnt/keys.
Do I have to also run auth/enable whatever_user also.







__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-21 20:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-21 20:22 [9fans] cpu/auth auth/changeuser problems Russ Cox
     [not found] <20020917160005.28078.60230.Mailman@psuvax1.cse.psu.edu>
2002-09-17 19:10 ` William Gunnells

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).