On Nov 20, 2005, at 10:02 PM, Paul Yiu wrote:

Hi Guys,

Hope you guys can help on this ssh issue has been posted in 2004. Thank you in advance.

I hit the same ssh problem with openbsd 3.7. I got serial console set up, I got a user which assigned in a wheel group, when I log in using ssh as a user and try to su. System said sorry and I check /var/log/authlog it said BAD SU pyiu to root on /dev/ttyp0. I can ssh in as root, but not su as root.

$ su
Password:
Sorry
$ sudo su -
Password:

Results in the following entry in /var/log/authlog

Nov 23 08:09:54 sabus su: BAD SU chad to root on /dev/ttyp0


I don't think the problem is with the serial console or ssh. I suspect the problem is user error. Assuming you've adjusted sudo to allow people in the wheel group, great. Then they must use sudo to run the commands. Look at my example above. The first time I simply tried using 'su' and obviously did not enter the root password. While in the next example I entered 'sudo su -' and then entered my password when prompted which then granted me a root prompt.


-Chad

Reply via email to