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.

Can move accnts that start with numerals.

Discussion in 'General Discussion' started by rastoma, Jan 31, 2002.

  1. rastoma

    rastoma Well-Known Member

    Joined:
    Aug 27, 2001
    Messages:
    158
    Likes Received:
    0
    Trophy Points:
    16
    I get this error message when trying to move a domain that start with a number:

    Copying Mail files....Done
    Copying www logs....Done
    Grabbing mysql dbs...Done
    Grabbing mysql privs...Done
    Copying mailman lists....Done
    Copying homedir....stdin: is not a tty
    Done
    Copying cpuser file.......Done
    Copying quota info.......Done
    Copying password.......Done
    Creating Archive ....Done
    Copying tarball...............Done
    Tarball copy ok!
    Extracting tarball....
    gzip: stdin: unexpected end of file
    tar: Unexpected EOF in archive
    tar: Unexpected EOF in archive
    tar: Error is not recoverable: exiting now
    Done
    Extracting Domain....Done
    Generating Account....Sorry usernames cannot begin with a number. at /scripts/wwwacct line 245.
    Account creation failed.. cannot continue..
     
  2. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    Submit a bug report..........
     
  3. bdraco

    bdraco Guest

    Usernames that start with numbers really aren\'t valid .. we no longer allow creation of them... You\'ll need to change the username before you move the account.
     
  4. alexheizer

    alexheizer Active Member

    Joined:
    Dec 17, 2003
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    why not? They are valid on Linux systems and on the Web, so why not on a Linux Web server?
     
  5. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,382
    Likes Received:
    23
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Do a:

    Code:
    touch /etc/allowstupidstuff
    
    on the server you are moving the account to. This should allow you to create usernames that start with a number.
     
  6. alexheizer

    alexheizer Active Member

    Joined:
    Dec 17, 2003
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Okay, now that we've heard from a Windoze user, is there anyone *intelligent* out there that can provide an actual explanation of why CPanel chooses to limit things, or can we assume that this is just one more unexplanable thing CPanel decides to implement (or intentionally leave out)?
     
  7. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,382
    Likes Received:
    23
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Am I the windows user? If so I don't really see the correlation between what I said and typical windows users. I just viewed the /scripts/wwwacct script and you can plainly see that creating that file will allow you to create users that start with a number. As to why they are not valid to begin with, I don't know, I never pretended to. You will have to take that up with Nick.

    If I'm not the windows user, then I apologize for my mini-rant.
     
  8. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Not on RHE, don't know which Linux systems you're referring to:

    useradd 4test
    useradd: invalid user name '4test'
     
Loading...

Share This Page