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.

Can you change a user name?

Discussion in 'Database Discussions' started by happierr, May 7, 2004.

  1. happierr

    happierr Registered

    Joined:
    May 7, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Can I do this, without having to teminating and redoing the account? or the MAIN account in an email
     
  2. fdnet

    fdnet Member

    Joined:
    May 5, 2004
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Im thinking no,

    I've had a look and tried... but don't give up hope, there may be a way!
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You certainly can.

    WHM > Modify an Account > Select Account > UserName - set it to whatever you want.
     
  4. SarcNBit

    SarcNBit Well-Known Member

    Joined:
    Oct 14, 2003
    Messages:
    1,010
    Likes Received:
    3
    Trophy Points:
    38
    Yes, but how does that affect his last question? The MAIN account in email?

    I am just being lazy or else I would test it myself, but I suspect it may change it.
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Me too :p

    "The proof of the pudding is in the eating".
     
  6. SarcNBit

    SarcNBit Well-Known Member

    Joined:
    Oct 14, 2003
    Messages:
    1,010
    Likes Received:
    3
    Trophy Points:
    38
    While I was testing the demo/demo thing for another thread I tested this.

    It appears that when you change the username on an account that the unrouted mail still points to the old address. The default mail address seems to change though. This was checked using an account using rvskin. I will look into it again later as it seems strange that it would happen like that.
     
  7. alex042

    alex042 Well-Known Member

    Joined:
    Sep 13, 2003
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    6
    Changing a username in whm is a little buggy in that it doesnt change all references it needs to. i.e. it may change the home directory, but not the mysql databases.
     
  8. eurorocco

    eurorocco Well-Known Member

    Joined:
    Jun 23, 2003
    Messages:
    99
    Likes Received:
    0
    Trophy Points:
    6
    Changing the admin username

    Definitely not. Do not change the username by simply "Modifying the Account".

    If you need to change it you need to

    a) create the account from scratch with the new admin username.

    b) create the databases and database users from scratch in cpanel. grant the database user permission for its corresponding database.

    c) restore the database using the mysql dumps contained in the backups into the new databases.

    d) create the email accounts from scratch. manually. do the same for aliases, responders, etc. you might try modifying the files in the backup and restoring them independently from the cpanel restore.

    e) modify any scripts (config.php typically) to match the new database names and database users; and the new password.

    Painstaking! I know!

    ER
     
  9. ShAwNz

    ShAwNz Active Member

    Joined:
    Dec 21, 2003
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Im needing to change the username of an account...what is the best way to do so ?

    Or is it like eurorocco said, have to do all those steps ?
     
Loading...

Share This Page