Subject: Re: How to su root?
To: Michael Robinson <miker@mind.net>
From: Colin Wood <ender@is.rice.edu>
List: port-mac68k
Date: 02/08/1997 14:20:27
> >I'd try putting yourself in group 'wheel' in the passwd file (using vipw,
> >of course).  That will make your primary group 'wheel', and I think that
> >su should recognize you then..
> 
> OK, I did that originally, just forgot to mention it. But I checked again
> to make sure and, yep, it's there. However, I still get the message "you
> are not in the correct group to su root."

Could we see a copy of your _/etc/passwd_ file entry and your /etc/group 
file entry?  Maybe there's a type or something...

> I am under the impression that 'su to root' is a sysadmin tool that allows
> you to change to root access at any terminal no matter the original login
> to affect fixes and changes, then log out of root and back to the regular
> user. Correct?

More or less.  Basically, it is considered bad form to login initially as 
root.  It is better to login as yourself first and then su to root if you 
need root privileges to do your work.

> BTW, is there a list for learning NetBSD or NetBSD sysadmin issues? I don't
> want to tie up this list with my occasional newbie questions (unless it's
> OK with you guys, of course :)

There's not a netbsd admin list, but there are netbsd-help and 
netbsd-users, both of which might be more appropriate for this kind of 
question.  Take a look at www.netbsd.org for a full list of mailing lists 
available and a brief description of each.  You might also want to take a 
look at the NetBSD/mac68k FAQ (and related docs):

http://www.macbsd.com/macbsd/macbsd-docs/

They contain a lot of useful information, including pointers to useful 
books and other useful websites.  I hope this helps.

Later.

-- 
Colin Wood                                      ender@is.rice.edu
Consultant                                        Rice University
Information Technology Services                       Houston, TX