Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I know the root password and can ssh directly to the server as root, but what I can't do is ssh to the box as a normal user and su to root (I don't ever like logging on as root). I can 'sudo su root' just fine, but when I try 'su -', I receive 'su: incorrect password' (again, I know the root password just fine).
/etc/sudoers has:
root ALL=(ALL) ALL
%wheel ALL=(ALL) ALLAnd /etc/group has:
root:x:0:userx
wheel:x:10:userxAny ideas? I have surfed the web high and low, and have found work-arounds, but I would like to determine what the root cause of this behavior.
Thx, UtahTechDad

You shouldn't be able to ssh as root. It is already borked.
You have confused a group named wheel and a user named wheel.
http://www.sudo.ws/sudo/sample.sudoers for example.
"Best Practices", Event viewer, host file, perfmon, antivirus, anti-spyware, Live CD's, backups, are in my top 10

You shouldn't be able to ssh as root.
Not sure what you mean here jefro. I do it all the time. Either when logged in as root (ie: shh xxx.xxx.xxx.xxx) or when logged in with my normal 'user' level account and I'm connecting to another Linux/UNIX box as root (ie: ssh root@xxx.xxx.xxx.xxx) Both work perfectly fine for me.

![]() |
Lost Toolbar
|
remapping drives
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |