Login to WHM via sudo user

adreno

Registered
Oct 10, 2014
1
0
1
cPanel Access Level
Root Administrator
Hi,

We have installed WHM on our new server. We do not have direct root access. Instead we use the username xyz and when root access is required we do sudo cmd...

Please could anyone tell me how could we configure username xyz to login to WHM?

Thank you,

Kosala
 

quizknows

Well-Known Member
Oct 20, 2009
1,008
87
78
cPanel Access Level
DataCenter Provider
mageshm, wheel group is just for access to 'su' which it sounds like adreno has figured out already.

adreno, You could allow xyz to log into WHM if you make it a reseller. Only root and reseller accounts can access WHM. You would have limited permissions and I do not believe resellers can "escalate" to root inside of WHM like you can with SSH access.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
Hello :)

Yes, as mentioned, you would have to make the user a reseller and then grant it all privileges so that you can complete the same tasks. Even then, you may encounter some issues with options such as clustering if you do not access WHM as "root".

Thank you.