System user converted to cpanel users

harwoodspike

Registered
Aug 9, 2014
2
0
1
cPanel Access Level
Root Administrator
I installed an app that created it's own system user and I want to use cPanel to created the DB and manage mail and other services.

So is there any way to convert a linux user to be a cPanel user?

I am running WHM 11.44.1 build 11 and CentOS 6.5. I have full root access to the server.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,225
463
Hello :)

It's likely a better idea to simply remove the user manually, and then create a cPanel account for it. This way the user will still exist on the system, and the cPanel account is setup successfully. You may need to update ownership for files related to that application after re-creating it because the UID is likely to change.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,225
463
Would it work if I created the cPanel account then did a userdel on user then install my application?
Or would this mess something up in cPanel?
You should not delete the user after creating a cPanel account. Also, you can not create a cPanel account with a username that already exists on the system. Ensure you backup any files/directories associated with the user before initially removing it in preparation for creating the cPanel account.

Thank you.