On Sun, Nov 29, 2009 at 4:51 PM, phil <[email protected]> wrote: > Hello > > I have some strange behavior with su in openbsd 4.6, > I have two users root and test, test user is in wheel group with usermod -G > wheel test, when i try to be root with su - > I have the sorry message and in the /var/log/authlog I have : > BAD SU test to root on /dev/ttyp0 > > I'm sure about the root password, cat from /etc/group show me that test user > is in wheel group. > If I remove the test user and recreate it whith adduser and specify to add > test user in the wheel group I have the same behavior > If I try to get root privilege with su root - I have the same result. > > What I do wrong or missing. > > Phil
I see the same on 4.6-release. The initial user I added during install can su and sudo OK, but users I add now cannot. 4.6-current works OK, no problems. Here's how I tested on release: useradd -m test usermod -G wheel test grep /etc/group (to see that test is indeed in the wheel group, he is) I tried a couple of different user names (Just in case it was something specific to test) and they all behave the same. id shows test as uid 1001 gid 10 groups 10 and 0 Brad

