Subject: Re: Kernel Owned by ??
To: Austin Brower <browerab@psouth.net>
From: Colin Wood <cwood@ichips.intel.com>
List: port-mac68k
Date: 12/05/1997 15:54:19
Austin Brower wrote:
> 
> Hello Y'all,
>      I finally got around to reinstalling NetBSD 1.2.1, and while not 
> succeeding at making my external HD usr while my internal root I come out 
> happy-ish. To my dismay everything seems to be slower than my last 
> installation. I telnet in and wait and wait and wait for the login: 
> prompt to appear.

Hmmmmm....I don't quite know why this would be happening.  Perhaps when
you upgrade to 1.3, you'll manage to fix whatever is wrong (btw, how was
your last installation setup?)

>     But, I digress, here is my greatest question.  I recently ls -l'ed 
> the root and found that the kernel, netbsd, is owned by user 200 in group 
> wheel.  I know of no user 200 on this system and feel that something is 
> wrong here.  Is user 200 the correct owner of the kernel?

No, it looks like whomever you got the kernel from had it incorrectly
owned by themselves (well, I always do my compiles as root and install
from there, so my kernels are always owned by root).  If you install
using the -p option to tar, it will preserve whatever user/group id's
where on the file, whether or not they actually exist on your system.  You
might want to do a:

su
chown root:wheel /netbsd

just to fix it up.  Otherwise, if you ever create a user with id 200,
they'll be able to muck with the kernel...not a good thing, in all
likelihood.

Later.

-- 
Colin Wood                                 cwood@ichips.intel.com
Component Design Engineer - MD6                 Intel Corporation
-----------------------------------------------------------------
I speak only on my own behalf, not for my employer.