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.

Serious Problems With Adding Users

Discussion in 'General Discussion' started by djplasma, Apr 23, 2004.

  1. djplasma

    djplasma Member

    Joined:
    Nov 11, 2003
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    BC, Canada
    WWWAcct 8.0 by J. Nick Koston

    +===================================+
    | New Account Info |
    +===================================+
    | Domain: censored.com
    | Ip: XX.XX.XXX.XXX (n)
    | HasCgi: y
    | UserName: censored
    | PassWord: censored
    | CpanelMod: x
    | HomeRoot: /usr/home
    | Quota: 50000 Meg
    | NameServer1: ns1.mydomain.com
    | NameServer2: ns2.mydomain.com
    | NameServer3:
    | NameServer4:
    | Contact Email:
    +===================================+
    Unable to add the user censored

    Account Creation Complete!!!

    Whats could be wrong :S
     
  2. Website Rob

    Website Rob Well-Known Member

    Joined:
    Mar 23, 2002
    Messages:
    1,506
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    Alberta, Canada
    cPanel Access Level:
    Root Administrator
    Off-hand I would say that 'censored' is a restricted word and cannot be used for a Username.
     
  3. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    I doubt "censored" is the actual username he was using, plus, that username is allowed.

    I don't know if this will help any, but here's the part of the account creation script (wwwacct) where that comes up.

    Code:
    if (!getpwnam($user)) {
    	deaderror "Unable to add the user $user";	
    }
    
    I can study the code later, when I have a bit of time, to see what it means if no one else knows.
     
  4. Chew

    Chew Well-Known Member

    Joined:
    Dec 31, 2003
    Messages:
    96
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Maryland
    it means that the username and password CANNOT be the same.

    :D Chew
     
  5. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    Can't mean that because I just tested creating an account with username and password of censored and it worked fine.


    Are you still having trouble?
     
Loading...

Share This Page