Subject: Re: su weirdness still
To: David Bushong <dbushong@volga.EECS.Berkeley.EDU>
From: Stephen C. Brown <sbrown@shellx.best.com>
List: port-mac68k
Date: 08/25/1996 12:24:55
>        There have been many postings about su not allowing a user to su
>to root... the general consensus has been to add the user to the wheel
>group in /etc/group.. I have done this but I still get:
>
>--
>% su
>su: you are not in the correct group to su root.
>--
>
>when my entry as seen in vipw looks like this:
>--
>dbushong:Zo/TqLmO:25:0::0:0:David....etc,etc
>--
>(uid = 25, gid = 0)
>
>and my /etc/group entry looks like this:
>--
>wheel:*:0:root:dbushong
>--

It should be comma separated, i.e.:

wheel:*:0:root,dbushong

Be sure there are no spaces around the comma as it seems to be particularly
picky about that.  You can use the "groups" command at your prompt to see
what groups the system thinks you are in.  You WILL have to exit and login
again to see any newly added groups.

Steve Brown

>
>Any ideas?
>
>    _/_/_/_/  _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
>     _/   _/ _/   _/ _/   _/  David P. Bushong -- (510) 845-3271         _/
>    _/   _/ _/_/_/  _/_/_/   dbushong@cory.eecs.berkeley.edu            _/
>   _/   _/ _/      _/   _/  http://www-inst.eecs.berkeley.edu/~dbushong_/
>_/_/_/_/_/_/      _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/