Child pages
  • The wwwacct Script

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Include Page
LIB:_Version
LIB:_Version

Table of Contents
stylenone

Overview

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

Note
titleNote:

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:

Code Block
languagetext
/usr/local/cpanel/scripts/wwwacct <argument>

Arguments and inputs

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

Multiexcerpt include
MultiExcerptName72andLater
PageWithExcerptLIB:_wwwacctScriptArguments

Example

The following example creates the example.com cPanel account:

Code Block
languagetext
/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

Localtab Group


Localtab
activetrue
titleSuggested documentation

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel in ("accounts","accountcreation") and label = "whm" and space = currentSpace()


Localtab
titleFor cPanel users

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel in ("accounts","accountcreation") and label = "cpanel" and space = currentSpace()


Localtab
titleFor WHM users

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel in ("accounts","accountcreation") and label = "whm" and space in (currentSpace(),"CKB")


Localtab
titleFor developers

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel in ("accounts","accountcreation") and space = "SDK"