Updating Authentication Databases...ERROR

jefferyw18

Well-Known Member
Apr 10, 2004
45
0
156
Vancouver BC Canada
cPanel Access Level
DataCenter Provider
Code:
[email protected] [~]# /scripts/wwwacct mydomain.com pretty **********
+===================================+
| New Account Info                  |
+===================================+
| Domain: mydomain.com
| UserName: pretty
| PassWord: **********
+===================================+

This ok? y
Checking input data......Done
WWWAcct 12.1.0 (c) 1997-2008 cPanel, Inc.......Done
Running pre creation script (/scripts/prewwwacct)......Done
Adding User......Done
Copying skel files from /root/cpanel3-skel/ to /home/pretty/......Done
Adding Entries to httpd.conf......Done
Setting up Mail & Local Domains......Done
Configuring DNS......Done
Restarting apache......Done
Updating Authentication Databases...ERROR:  CREATE USER: user name "pretty" already exists
...Done
Verifying MX Records and Setting up Databases......Done
Setting up Frontpage<sup>&reg;</sup>......Done
Setting up Proxy Subdomains......Done
Sending Account Information...Notification => [email protected] via EMAIL [level => 3]
...Done
Running post creation scripts (/scripts/legacypostwwwacct, /scripts/postwwwacct, /scripts/postwwwacctuser)......Done
Setting up Domain Pointers......Done
Setting Reseller Privs......Done
Account Creation Complete!!!......Done
Account Creation Ok
 
Last edited:

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,214
13
313
Houston, TX
cPanel Access Level
Root Administrator
Code:
[email protected] [~]# /scripts/wwwacct mydomain.com pretty **********
+===================================+
| New Account Info                  |
+===================================+
| Domain: mydomain.com
| UserName: pretty
| PassWord: **********
+===================================+

This ok? y
Checking input data......Done
WWWAcct 12.1.0 (c) 1997-2008 cPanel, Inc.......Done
Running pre creation script (/scripts/prewwwacct)......Done
Adding User......Done
Copying skel files from /root/cpanel3-skel/ to /home/pretty/......Done
Adding Entries to httpd.conf......Done
Setting up Mail & Local Domains......Done
Configuring DNS......Done
Restarting apache......Done
[B]Updating Authentication Databases...ERROR:  CREATE USER: user name "pretty" already exists[/B]
...Done
Verifying MX Records and Setting up Databases......Done
Setting up Frontpage<sup>&reg;</sup>......Done
Setting up Proxy Subdomains......Done
Sending Account Information...Notification => [I]REDACTED[/I] via EMAIL [level => 3]
...Done
Running post creation scripts (/scripts/legacypostwwwacct, /scripts/postwwwacct, /scripts/postwwwacctuser)......Done
Setting up Domain Pointers......Done
Setting Reseller Privs......Done
Account Creation Complete!!!......Done
Account Creation Ok
This error indicates this username already exists. Have you tried using a different username?

PS: You may want to remove your email address from your post, this forum is publicly visible.
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,214
13
313
Houston, TX
cPanel Access Level
Root Administrator
im not concerned about my e-mail as its in my forums profile..

as for the user error... it didn't already exist, how do I check in the future if a user exits or not?

does it search /etc/passwd for valid users?
I'm not sure about the technical details of how cPanel/WHM detects a user existing. However, as all cPanel users are also unix users, detecting if the unix user exists is one method of checking this.