cpanel error after change user root

aldesha989

Member
Jul 24, 2007
13
0
51
hello

i have make change user root but i can not enter cpanel
after change

what i must do after change root user ?

this way to change user root

usermod -l new root
groupmod -n new root
 

thewebhosting

Well-Known Member
May 9, 2008
1,199
1
68
There is another command. Can you try using command sudo usermod -l <new name> root ?
 

dave9000

Well-Known Member
Apr 7, 2003
888
1
168
arkansas
cPanel Access Level
Root Administrator
Let me see if I am understanding this correct.

You changed the user root to someotherusername and now you can not login with the new user ?

I don't think you can do this and have cpanel/whm work correctly.
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
Just to confirm: you're saying that only 'root' can log into WHM, right? There's no way to log into WHM as a user other than 'root'?

Thanks, Ben
cPanel users with reseller privileges (reseller users) can login to WHM as well. Reseller users can be granted full access to WHM.

However, WHM is not designed to accommodate root users (a user with root access to the server, not just full access to WHM) having a username other than "root" at this time.
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
79
458
cPanel Access Level
Root Administrator
Just to confirm: you're saying that only 'root' can log into WHM, right? There's no way to log into WHM as a user other than 'root'?

Thanks, Ben
No. I am not saying that. I am saying we don't support changing the name of the root account. That is what this thread is about.