Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member bigste's Avatar
    Join Date
    Jan 2009
    Location
    Cheshire, UK
    Posts
    20

    Question Sorry usernames cannot begin with a number!

    Is there a good reason why usernames cannot begin with a number?

    Obviously it's not a domain naming issue and I can see how 'special characters' might cause trouble but I can't think of a reason why such a rule would have to be enforced by the cPanel software. Numbers aren't that different to letters, are they?


    Is there any way to get around it, I would really like to be able to have numbers for usernames?

  2. #2
    Member
    Join Date
    Oct 2004
    Posts
    44

    Default

    This is nothing to do with CPanel but your underlying OS.

    A username has an associated UID and you cannot have a username that is numeric or you will create problems. Lets look at an example

    UID 1 is root. Say you create a user called 1.

    Now the user called 1 would get confused with user root who has the UID of 1.

    Lets say, that user 1 decided to delete all his files on the disk, but the rm command sees the name 1, starts at the top of the password file, gets a match with 1 in the UID (because many commands operate on either the name or UID) and starts deleting everything off the server.

    Forget about it - even having a username of alpha and numeric is bad if you start the username with numbers.

Similar Threads & Tags
Similar threads

  1. [Case 4616] Allow domain names that begin with a digit
    By TooRight in forum cPanel and WHM Discussions
    Replies: 19
    Last Post: 03-17-2008, 10:28 AM
  2. Kernel Begin What does it mean ?
    By soft-t in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-19-2006, 05:01 AM
  3. Hostnames must begin with a letter
    By nickn in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-31-2005, 01:24 PM
  4. usernames cannot begin with a number
    By prosayist in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-28-2002, 01:39 AM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube