BAD SU

2009-11-29 Thread phil
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

Re: BAD SU

2009-11-29 Thread Nick Guenther
/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

Re: BAD SU

2009-11-29 Thread phil
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

Re: BAD SU

2009-11-29 Thread Alexander Hall
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

Re: BAD SU

2009-11-29 Thread Brad Tilley
/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

Re: BAD SU

2009-11-29 Thread phil
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

Re: BAD SU

2009-11-29 Thread Brad Tilley
On Sun, Nov 29, 2009 at 6:28 PM, Brad Tilley b...@16systems.com wrote: I see the same on 4.6-release. The initial user I added during install can su and sudo Just to be clear, 'sudo su' works for newly added users who are in the wheel group, but su by itself does not. Apologies for the

Re: BAD SU

2009-11-29 Thread Alexander Hall
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

Re: BAD SU

2009-11-29 Thread Nick Guenther
On Sun, Nov 29, 2009 at 6:43 PM, Brad Tilley b...@16systems.com wrote: On Sun, Nov 29, 2009 at 6:28 PM, Brad Tilley b...@16systems.com wrote: I see the same on 4.6-release. The initial user I added during install can su and sudo Just to be clear, 'sudo su' works for newly added users who are

Re: BAD SU

2009-11-29 Thread Brad Tilley
the passwords and groups right? Yes, when I type su as user test, I get Sorry outputted to the console and I see BAD SU test to root on /dev/ttyC0 in /var/log/authlog. I'm doing this locally on a laptop. When I type sudo su as user test, I get a root shell. In /etc/sudoers I have the %wheel line

Re: BAD SU

2009-11-29 Thread Brad Tilley
On Sun, Nov 29, 2009 at 6:54 PM, Nick Guenther kou...@gmail.com wrote: On Sun, Nov 29, 2009 at 6:43 PM, Brad Tilley b...@16systems.com wrote: On Sun, Nov 29, 2009 at 6:28 PM, Brad Tilley b...@16systems.com wrote: I see the same on 4.6-release. The initial user I added during install can su

BAD SU RESOLVED

2009-11-29 Thread phil
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