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.

Stupid CPanel Feature...Sorry usernames cannot contain a dash.

Discussion in 'General Discussion' started by wimp, Nov 20, 2003.

  1. wimp

    wimp Well-Known Member

    Joined:
    Jul 13, 2002
    Messages:
    301
    Likes Received:
    0
    Trophy Points:
    16
    what the hell is this...
    I just deleted an account and now like to restore it from backup.
    However i recive the following erro:
    "Sorry usernames cannot contain a dash."

    what the hell does this mean???
    This account was running with "-" in the userID until yesterday!!
    Can anyone explain how to restore account with dashes ??

    :mad:

    thanks a lot

    server is:
    WHM 8.5.4 cPanel 8.5.4-R72
    RedHat 7.3 - WHM X v2.1.1
     
  2. wimp

    wimp Well-Known Member

    Joined:
    Jul 13, 2002
    Messages:
    301
    Likes Received:
    0
    Trophy Points:
    16
  3. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    It was added because things like dashes in usernames can cause unnessesary issues. Like using issues with PostGreSql and the like. It was done to save on any future issues.
     
  4. jnagro

    jnagro Active Member

    Joined:
    Jun 28, 2003
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    i had the same problem, so i logged in as root, used adduser to make the username (in this case e-jiti) and then ran the restore again... worked as long as the username already exsisted... post a reply if you need more of an explination...
     
  5. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    All I can say is, expect to have issues with doing that. The removal of the "-" was done for a reason.
     
  6. jnagro

    jnagro Active Member

    Joined:
    Jun 28, 2003
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    yeah i assume so, i *really* needed the account restored though, we had a major crash and i had no choice, no other accounts have it... we'll deal with the issues as they come...
     
  7. compunet2

    compunet2 Well-Known Member

    Joined:
    Feb 21, 2003
    Messages:
    310
    Likes Received:
    0
    Trophy Points:
    16
    You could always change the user name after you complete your restore....
     
  8. hostit1

    hostit1 Well-Known Member

    Joined:
    Jul 24, 2003
    Messages:
    88
    Likes Received:
    0
    Trophy Points:
    0
    A solution

    Hello,

    I had the same problem. Domain names with dashes caused lots of problems for me too.

    I purchased a signup / billing application called whmautomation (http://whmautomation) for about $150, and if a person signs up for a domain with a dash, that dash is removed and replaced with a valid character.

    This would be a good solution and can "kill two birds with one stone" if one needs a system that will automate signups and include billing automation.

    If you are using a custom application, I would have some type of script or coding that will do input translation and would send this "username" field to the whm without the dash.

    Sincerely,

    Tim Rice
    Host It Now Networks
    http://hostitnow.com
     
Loading...

Share This Page