Changing an account username...any repercussions?

Devilfish

Member
Dec 7, 2008
7
0
51
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! :)
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
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! :)
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.
 

mtindor

Well-Known Member
Sep 14, 2004
1,463
114
193
inside a catfish
cPanel Access Level
Root Administrator
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! :)
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
 

tkerns

Active Member
Jun 13, 2007
34
0
56
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