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.

Longer Usernames

Discussion in 'General Discussion' started by TomBullock, Jun 8, 2008.

  1. TomBullock

    TomBullock Active Member

    Joined:
    Jun 8, 2008
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    Hello

    Is there a way of making usernames longer than just 8 characters in WHM?
    I want to be able to have the domain as the username on all accounts.

    Thanks
    Tom
     
  2. boatdesign

    boatdesign Well-Known Member

    Joined:
    Sep 13, 2003
    Messages:
    158
    Likes Received:
    0
    Trophy Points:
    16
    That's an interesting question -- I also find the 8 character usernames constraining at times, and wonder why WHM can't allow them to be longer now?
     
  3. 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
    Part of this is the 8 character limitation of some *nix environments, part of this is due to the fact that longer usernames could unintentionally break some critical functionality (e.g. MySQL).
     
  4. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    While most software now supports at least 16, until we drop compatibility with some of the older applications 8 is going to be the magic number.
     
  5. electric

    electric Well-Known Member

    Joined:
    Nov 5, 2001
    Messages:
    697
    Likes Received:
    1
    Trophy Points:
    18
    Just out of curiosity, what are some of the older applications that only support 8 chars?
     
  6. jandafields

    jandafields Well-Known Member

    Joined:
    May 6, 2004
    Messages:
    426
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    MySQL has a 16-character limit on usernames. 8 are taken by the cPanel username, 1 by the underscore, and up to 7 by the rest of the username. If cPanel username was longer than 8-characters, there would not be enough room for the rest of the mysql username.

    MySQL 5 can be recompiled to allow longer usernames, but MySQL 4 does not have that option.
     
    #6 jandafields, Jun 16, 2008
    Last edited: Jun 16, 2008
Loading...

Share This Page