[Help]After install cPanel, normal user accoun can't use 'su -' to login in as root.

cwm1021

Registered
Apr 7, 2007
4
0
151
Hello

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!
 
Last edited:

yapluka

Well-Known Member
Dec 24, 2003
301
2
168
France
cPanel Access Level
Root Administrator
Re: [Help]After install cPanel, normal user accoun can't use 'su -' to login in as ro

You probably didn't add the user to the wheel group ?
This can be done from WHM >> Security Center >> Manage Wheel Group Users
 
  • Like
Reactions: Laurent YA