Help - Search - Members - Calendar
Full Version: Su -
The Planet Forums > Control Panels > cPanel/WHM
dkair
When loggin in as admin in SSH and then going to root 'SU -"

It says permission denied.

Any suggestions on this. I have not changed the ssh config and the lines are still commented out in it.

Thanks
wizhoo
No need to sign-in as admin then su -


SSH into your box and sign-in as 'root' right away.
dkair
Yes i know this, i want to be able to force admin login 1st befor root.

Problem is i cant su - to root at all from admin.
neils
it's because the user you're logging in as doesn't have permission to use su, probably because they're not a member of the group 'wheel'

you can add a user to the wheel group, logging in as root directly and typing pico -w /etc/groups and srcolling down to the wheel entry and adding the username

... or (the easy way)

Login to WHM - Under server setup click the "Manage Wheel Group Users" entry.

-neil
Michael
QUOTE
Originally posted by dkair
When loggin in as admin in SSH and then going to root  'SU -"

It says permission denied.

Any suggestions on this. I have not changed the ssh config and the lines are still commented out in it.

Thanks


I am able to SU to root from "admin" username. :confused:
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.