Subject: Re: admin/14192: Problem using su
To: None <dustin@arctichost.com>
From: Geoff Wing <gcw@pobox.com>
List: netbsd-bugs
Date: 10/09/2001 14:48:19
dustin@arctichost.com typed:
:>Synopsis:       Problem using su
:>Description:
:I don't know if this is a bug or if its just me..but here it is:
:$ su
:su: you are not listed in the correct secondary group (wheel) to su root.
:$ id
:uid=1000(dustin) gid=0(wheel) groups=0(wheel)
:$

You've got a gid of 0 but you must also make sure you're also in /etc/group


su(1) says:
    Only users in group ``wheel'' (normally gid 0), as listed in /etc/group,
    can su to ``root'', unless group wheel does not exist or has no members.

/etc/group may well have, by default,
    wheel:*:0:root

Regards,
-- 
Geoff Wing  <gcw@pobox.com>
rxvt stuff  <gcw@rxvt.org>
zsh stuff   <gcw@zsh.org>