Serious Problems With Adding Users

djplasma

Member
Nov 11, 2003
6
0
151
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
 

Website Rob

Well-Known Member
Mar 23, 2002
1,501
1
318
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.
 

PWSowner

Well-Known Member
Nov 10, 2001
2,901
4
343
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.