SSH direct root logins are permitted

quizknows

Well-Known Member
Oct 20, 2009
1,008
87
78
cPanel Access Level
DataCenter Provider
Add any normal user to the "wheel" group (can be done in WHM).

Once that is done, SSH in as the normal user. When you get a prompt issue the su command to get root, best to use:

su -

with the dash, so that you get roots login environment variables. You will be prompted for roots password for the su command, and then you will be at a root shell.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
There is big list which do i add ? shame i cant create my own one for root.

How do i elevate permissions
Adding the user to the wheel group will elevate the access to the user so that the user can then access root via "su".

Thank you.