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.

Changing an account username...any repercussions?

Discussion in 'General Discussion' started by Devilfish, Apr 14, 2009.

  1. Devilfish

    Devilfish Member

    Joined:
    Dec 7, 2008
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I would like to change the username for one of my account on my server but was wondering if there are any repercussions afterwards?

    Should WHM change/configure everything ok?

    Thanks! :)
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    As long as you do it through WHM (WHM -> Account Functions -> Modify an Account), WHM will re-configure everything for you automatically. It may take a few moments before everything is completely done after you rename a user.
     
  3. Devilfish

    Devilfish Member

    Joined:
    Dec 7, 2008
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Thank you David.
     
  4. mtindor

    mtindor Well-Known Member

    Joined:
    Sep 14, 2004
    Messages:
    1,281
    Likes Received:
    37
    Trophy Points:
    48
    Location:
    inside a catfish
    cPanel Access Level:
    Root Administrator
    Just one that I can think of - and one you don''t see a lot. If you have a customer using a custom PHP or CGI application that references the absolute path (i.e. /home/oldname/public_html/blah and you change the username via the WHM interface, that application won't work properly anymore until you edit it to reflect /home/newname/public_html/blah.

    This doesn't happen very often, but it does happen. And, it's important to note that it is _not_ something that Cpanel could possibly take into account. I have never encountered a problem changing the username, except in a rare case where a customer had a full server path coded in a script.

    So, I think you're safe :)

    Mike
     
  5. tkerns

    tkerns Active Member

    Joined:
    Jun 13, 2007
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Not only that, but it changes the name of any databases you have, and database usernames, and prepends the new username to them.
    So, you will need to edit all connect scripts on the site, if you use a mysql database.

    Tom
     
Loading...

Share This Page