TomBullock

Active Member
Jun 8, 2008
30
0
56
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
 

boatdesign

Well-Known Member
Sep 13, 2003
158
0
166
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?
 

cPanelDavidG

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

cPanelNick

Administrator
Staff member
Mar 9, 2015
3,481
35
208
cPanel Access Level
DataCenter Provider
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).
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.
 

electric

Well-Known Member
Nov 5, 2001
789
10
318
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.
Just out of curiosity, what are some of the older applications that only support 8 chars?
 

jandafields

Well-Known Member
May 6, 2004
436
6
168
USA
cPanel Access Level
Root Administrator
Just out of curiosity, what are some of the older applications that only support 8 chars?
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.
 
Last edited: