Go Back   cPanel Forums > General Discussion > cPanel Newbies

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-08-2009, 12:24 PM
Registered User
 
Join Date: Jul 2009
Posts: 2
ko-kylling is on a distinguished road
Username - Max 8 letter and no number???

Hello.

I have a few questions:
Why can't I add domains and choose a username for these which length is more than 8 letter and contains number?
Is there a way to make this possible? Maybe not the number part, but at least the length of the username.
If so, is this recommed and if no, why not?

In advance, thanks

Best regards
Morten Johansen
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-08-2009, 12:45 PM
cPanelDavidG's Avatar
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 8,117
cPanelDavidG is on a distinguished road
Quote:
Originally Posted by ko-kylling View Post
Hello.

I have a few questions:
Why can't I add domains and choose a username for these which length is more than 8 letter and contains number?
Is there a way to make this possible? Maybe not the number part, but at least the length of the username.
If so, is this recommed and if no, why not?

In advance, thanks

Best regards
Morten Johansen
cPanel users are created as standard Unix users, as such the limitations of standard unix usernames apply. Some distributions support a length over 8 characters, but allowing this will break other features such as MySQL.

However, you should be able to use a username that contains a number as long as the username does not begin with a number.
__________________
Need technical assistance? You can find your best avenue for support at: http://support.cPanel.net
-- cPanel David G., Lead Forum Administrator & cPanel Technical Sales Representative
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-08-2009, 12:52 PM
Registered User
 
Join Date: Jul 2009
Posts: 2
ko-kylling is on a distinguished road
Quote:
Originally Posted by cPanelDavidG View Post
cPanel users are created as standard Unix users, as such the limitations of standard unix usernames apply. Some distributions support a length over 8 characters, but allowing this will break other features such as MySQL.

However, you should be able to use a username that contains a number as long as the username does not begin with a number.
Thanks for the quick reply

I only tried with a username that started with a number, so maybe it works with numbers anyway

Why will it break MySQL if I use more than 8 letter for the username?
I know that your competitor, Plesk, allows long usernames
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-10-2010, 09:46 AM
Registered User
 
Join Date: Aug 2009
Posts: 1
fmidaglia is on a distinguished road
Quote:
Originally Posted by ko-kylling View Post
Thanks for the quick reply

I only tried with a username that started with a number, so maybe it works with numbers anyway

Why will it break MySQL if I use more than 8 letter for the username?
I know that your competitor, Plesk, allows long usernames
Same problem, 9 letters username will break the server??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-11-2010, 04:28 AM
Registered User
 
Join Date: Apr 2009
Posts: 225
InstaCarma_Tech is on a distinguished road
As cPanelDavidG mentioned, some distros might support more than 8 character username but it can/will certainly break some services if not the entire server. Therefore it is not recommended.

Here are a few things to be kept in mind while choosing a username :

A username must start with a lowercase letter.
The length of a username should be between 3 and 8 characters.
It can consist of lowercase letters and numbers.
__________________
InstaCarma
Outsourced Web Hosting Technical Support and Server Management

To visit out Blog , click here
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-17-2010, 03:03 PM
Registered User
 
Join Date: Feb 2010
Posts: 1
jhanger is on a distinguished road
MySQL will not break.

Quote:
Originally Posted by cPanelDavidG View Post
cPanel users are created as standard Unix users, as such the limitations of standard unix usernames apply. Some distributions support a length over 8 characters, but allowing this will break other features such as MySQL.

However, you should be able to use a username that contains a number as long as the username does not begin with a number.
This is not the case. MySQL since v. 3.23 has been able to support up to 16 characters in a username and numbers are permitted, however they are not permitted as the first letter. It also supports usernames with -'s and .'s in the names however the database names may or may not support special characters such as %, / etc....

If anyone has solved the 8 character limit that would be great to see the work around, as MySQL does support this...

In a growing world and 64 bit support nearly 100% available on servers as well as desktops there's no reason we should be limited to such a small number for usernames.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-17-2010, 05:00 PM
cPanelDavidG's Avatar
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 8,117
cPanelDavidG is on a distinguished road
Quote:
Originally Posted by jhanger View Post
This is not the case. MySQL since v. 3.23 has been able to support up to 16 characters in a username and numbers are permitted, however they are not permitted as the first letter. It also supports usernames with -'s and .'s in the names however the database names may or may not support special characters such as %, / etc....

If anyone has solved the 8 character limit that would be great to see the work around, as MySQL does support this...

In a growing world and 64 bit support nearly 100% available on servers as well as desktops there's no reason we should be limited to such a small number for usernames.
Under the current system, if 16 character cPanel usernames are used, since mysql database usernames and database names begin with the username followed by _ in a cPanel/WHM environment, we have a 17 character string before the user types in their preferred name. This will create issues since MySQL only accepts 16 characters for usernames.

We are currently working on removing the username_ requirement, but I prefer to wait until that feature is available in public builds before I comment on that further.
__________________
Need technical assistance? You can find your best avenue for support at: http://support.cPanel.net
-- cPanel David G., Lead Forum Administrator & cPanel Technical Sales Representative
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-25-2010, 11:48 PM
Registered User
 
Join Date: Feb 2010
Posts: 2
kmm2908 is on a distinguished road
Are there any other limitations on a user name?
1. 8 characters
2. Cannot start with a number
3. ???

How about restricted words: cpanel, test, etc..?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-26-2010, 09:38 AM
cPanelDavidG's Avatar
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 8,117
cPanelDavidG is on a distinguished road
Quote:
Originally Posted by kmm2908 View Post
Are there any other limitations on a user name?
1. 8 characters
2. Cannot start with a number
3. ???

How about restricted words: cpanel, test, etc..?
Regarding "restricted words": basically, it cannot be any existing Unix user on the system. Here's a list of commonly found Unix users on a cPanel/WHM system:

Code:
root
bin
daemon
adm
lp
sync
shutdown
halt
mail
news
uucp
operator
games
gopher
ftp
nobody
dbus
mailnull
smmsp
nscd
vcsa
rpc
sshd
rpcuser
nfsnobody
pcap
rpm
haldaemon
cpanel
named
mysql
mailman
cpanelhorde
cpanelphpmyadmin
cpanelphppgadmin
cpanelroundcube
avahi
avahi-autoipd
xfs
mx
postgres
clamav
dovecot
munin
__________________
Need technical assistance? You can find your best avenue for support at: http://support.cPanel.net
-- cPanel David G., Lead Forum Administrator & cPanel Technical Sales Representative
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-27-2010, 07:54 PM
Registered User
 
Join Date: Feb 2010
Posts: 2
kmm2908 is on a distinguished road
Thanks for the reply DavidG; very comprehensive and just what I was looking for!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 03-01-2010, 09:21 PM
Registered User
 
Join Date: Mar 2010
Posts: 1
CCronaldo is on a distinguished road
Thanks all for sharing
__________________
quang cao online | quang cao
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
letters , max , numbers , username

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i set the max of mysql connection number joelin cPanel and WHM Discussions 1 12-13-2007 08:33 AM
Max number of SMTP ports. DeadManWalking cPanel and WHM Discussions 2 01-31-2007 12:35 PM
What is the max number of accounts Cpanel supports? astounding cPanel and WHM Discussions 7 09-08-2006 01:35 PM
Is the max number of mails that can be send from an account Pilgrim cPanel and WHM Discussions 0 10-24-2002 05:34 PM


All times are GMT -5. The time now is 04:29 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc