[46] in netbsd-help mailing list archive
Re: installing NetBSD 1.0; AFS probs
daemon@ATHENA.MIT.EDU (yoav@MIT.EDU)
Wed Feb 8 08:01:00 1995
From: yoav@MIT.EDU
Date: Wed, 8 Feb 1995 08:00:48 -0500
To: ericding@MIT.EDU, netbsd-help@MIT.EDU
Okay.. this is the first time I've seen a panic occur on the loading,
so I have no idea what's going on there.. as soon as jtkohl logs in, I'm sure
he'll be able to help (one thing to check though, is whether your kernel supports
loadable kernel modules.. boot into single user (as soon as your get the NetBSD
bootloader prompt, type -s
you only have about half a second by the way to hit a key before it continues..
This will bring the machine up without stuff like AFS. Then, try
ls -l /dev/lkm
which should do something like:
crw-r----- 1 root kmem 28, 0 Jan 18 06:01 /dev/lkm
If this is not there, you can try to do one of these, though PLEASE wait until jtkohl
or ghudson log in to tell you what to do first.
cd /dev
MAKEDEV lkm
and ls -l /netbsd*
make sure there's two kernels there (well, three, but netbsd will be a hard
link to one of the two, make sure it's the athena one -- the sizes will match)
Okay, the other thing is in relation to adding users. We are still having arguments as to
the "correct method" of doing this. I wrote a small addition to hesinfo which seems
inappropriate, so in the near future there will be another program I will tell you to run,
but, in the meanwhile, you need to run
vipw
and insert a passwd entry in a master.passwd file format. This is almost the same as a
passwd format, except that passwd looks something like
username:id:gid:gecos:(more stuff)
and master.passwd looks like
username:id:gid:fooA:fooB:gecos:(more stuff)
you should look at the relevant manpage if it matters to you what those things are, but
in essence they are used for password expiration. So.. as root, you can
hesinfo [username] passwd >>/etc/master.passwd
vipw
(insert a :0:0 after the gid field -- look at a few other entries), so, for example
when hesinfo yoav passwd returns
yoav:*:2885:101:Yoav Yerushalmi,,w20-557,,6172258849:/mit/yoav:/bin/athena/tcsh
I would append that to master.passwd, and then run vipw (which would bring up
the EDITOR environment variable (either emacs or vi)), and let me edit the
password file. I would then change that to read:
yoav:*:2885:101::0:0:Yoav Yerushalmi,,w20-557,,6172258849:/mit/yoav:/bin/athena/tcsh
NOTE there are two colons after the gid, this is for some other foo field I forgot to
mention :-). This is intended for security and password expiration, though at Athena,
we don't really use these. If you intend to create non-athena accounts, set those up
as you like, and make sure the password isn't a star (this file is only readable by
root).
Finally, to change the cursor from a box to an underline, I believe you have to build
your own kernel (I hate it too, but then, I use X all the time). wait for jhawk
to log i, as I'm sure he knows more about this than I do...
yoav