The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

System user converted to cpanel users

Discussion in 'General Discussion' started by harwoodspike, Aug 9, 2014.

  1. harwoodspike

    harwoodspike Registered

    Joined:
    Aug 9, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    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.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  3. harwoodspike

    harwoodspike Registered

    Joined:
    Aug 9, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    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?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page