Hi Chad,
Yes, with sudo su - worked ok, great thanks. I really want su instead of
sudo su - due to other admin in my company I want to keep this
consistant. Any idea what causes the su failed? I got many openbsd
server running and they are with same config but able to su without this
problem.
--
Regards,
Paul Yiu
Senior Systems & Network Administrator
Max eCommerce Pty Ltd.
http: www.maxecommerce.com
Ph: +61 02 9651 3422 Fax: +61 02 9651 4622
Email: [EMAIL PROTECTED]
This email and any attachments are confidential and may be subject to
copyright, legal or some other professional privilege. They are intended solely
for the attention and use of the named addressee(s).
They may only be copied, distributed or disclosed with the consent of the
copyright owner. If you have received this email by mistake or by breach of the
confidentiality clause, please notify the sender immediately by return email
and delete or destroy all copies of the email. Any confidentiality, privilege
or copyright is not waived or lost because this email has been sent to you by
mistake.
Chad M Stewart wrote:
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