This script creates a cPanel account. This script also sets up the new account's domain information.

You can also create a account with the WHM API 1 createacct function.

The /scripts/wwwacct script

To use the /scripts/wwwacct script, run the following command as the root user:

/usr/local/cpanel/scripts/wwwacct <argument>

Arguments and inputs

You can use the following arguments with the /scripts/wwwacct script:


The following example creates the example.com cPanel account:

/usr/local/cpanel/scripts/wwwacct example.com user 12345luggage 0 paper_lantern n y n 0 0 0 0 0 0 y root default unlimited unlimited default user@example.com 0 en y unlimited

Additional documentation