1

I hardened the SSH by disallow direct root access. To access root, I need to login with normal user account first then use command "su -" to login as root.

However, after install cPanel, when I sent 'su -' command with normal user, it gives me "-bash: /bin/su: Permission denied"

It seems cPanel made some changes of permission to normal user. Now I can't find a way to login as root.

What can I do?

Thanks for any helps!

1 Answer 1

5

add the user to the wheel group in whm and it should give you su privileges again, alternatively use sudo as well but this probably also needs the user adding to the wheel group

1
  • Wow! There is a unicorn that loves your answer very much!
    – rvs
    Apr 1, 2011 at 6:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .