DoOO Dashboard
Nearly all management of accounts can occur in the DoOO Accounts page. DoOO Admins have the ability to log in to any account in their DoOO instance, suspend/unsuspend/terminate accounts, change passwords, share access, and even change ownership.
WHM
While most account operations can be performed from within the DoOO Dashboard, they can also be performed via WHM. Information (contact email, suspension status/reason, primary domain, etc) does sync between WordPress and WHM, but we highly recommend only using WHM to make changes that can't be made in WordPress. Management of hosting packages and disk quotas, restorations via Jetbackup, and the various features of Installatron are some of the things that can only be done through WHM.
WHM access to each server in a DoOO instance is accessible via the DoOO Servers page.
WP CLI
Domain of One's Own - Version 2 includes WP CLI commands that provide a command line interface for DoOO V2. By default, DoOO Admins are not given SSH access to the account hosting the DoOO WordPress Portal, but this can be granted upon request. Some important account management commands are listed below.
wp dooo account delete
Aliases: wp dooo account del, wp dooo account terminate, wp dooo accounts delete, wp dooo accounts del, wp dooo accounts terminate, wp dooo user delete, wp dooo user del, wp dooo user terminate, wp dooo users delete, wp dooo users del, wp dooo users terminate, wp dooo cpanel delete, wp dooo cpanel del, wp dooo cpanel terminate
Usage:
wp dooo account delete <USERNAME@HOSTNAME|ACCOUNT ID>
Function: This (sub)command will delete/terminate the specified (by Username@Hostname or Account ID) cPanel account.
wp dooo account suspend
Aliases: wp dooo accounts suspend, wp dooo user suspend, wp dooo users suspend, wp dooo cpanel suspend
Usage:
wp dooo account suspend <USERNAME@HOSTNAME|ACCOUNT ID> [SUSPEND REASON]
Function: This (sub)command will suspend the specified (by Username@Hostname or Account ID) cPanel account. A suspend reason can also be specified.
wp dooo account unsuspend
Aliases: wp dooo accounts unsuspend, wp dooo user unsuspend, wp dooo users unsuspend, wp dooo cpanel unsuspend
Usage:
wp dooo account unsuspend <USERNAME@HOSTNAME|ACCOUNT ID>
Function: This (sub)command will unsuspend the specified (by Username@Hostname or Account ID) cPanel account.
wp dooo account get
Aliases: wp dooo account list, wp dooo account search, wp dooo accounts get, wp dooo accounts list, wp dooo accounts search, wp dooo user get, wp dooo user list, wp dooo user search, wp dooo users get, wp dooo users list, wp dooo users search, wp dooo cpanel get, wp dooo cpanel list, wp dooo cpanel search
Usage:
wp dooo account get [ACCOUNT STATUS] wp dooo account get [ACCOUNT STATUS] [SERVER HOSTNAME|SERVER ID] wp dooo account get [USERNAME@HOSTNAME|ACCOUNT ID]
Function: This (sub)command will list cPanel accounts. If a status (active, suspended, terminated) then all accounts of that status will be returned. If both a status (active, suspended, terminated) and Server Hostname/Server ID are specified then all accounts of that status on that server will be returned. If an account is specified (either by Username@Hostname or Account ID) then only that account was returned.
wp dooo account login
Aliases: wp dooo accounts login, wp dooo user login, wp dooo users login, wp dooo cpanel login
Usage:
wp dooo account login <USERNAME@HOSTNAME|ACCOUNT ID>
Function: This (sub)command will generate a session URL for the specified (by Username@Hostname or Account ID) cPanel account.
wp dooo account create
Aliases: wp dooo accounts create, wp dooo user create, wp dooo users create, wp dooo cpanel create
Usage:
wp dooo account create <WORDPRESS USER ID> <NEW CPANEL USERNAME> <WHM SERVER HOSTNAME> <NEW CPANEL ACCOUNT DOMAIN>
Function: This (sub)command will create a new cPanel account. The WP User that owns the account needs to be specified (by WP User ID), along with the cPanel Username, Server Hostname, and Primary Domain of the account.
wp dooo account add
Aliases: wp dooo account import, wp dooo accounts add, wp dooo accounts import, wp dooo user add, wp dooo user import, wp dooo users add, wp dooo users import, wp dooo cpanel add, wp dooo cpanel import
Usage:
wp dooo account add <WORDPRESS USER ID> <CPANEL USERNAME> <WHM SERVER HOSTNAME>
Function: This (sub)command will add/import an existing cPanel account into WordPress. The WP User that owns the account needs to be specified (by WP User ID), along with the cPanel Username and Server Hostname.
wp dooo account collab
Aliases: wp dooo account collabs, wp dooo account share, wp dooo account shares, wp dooo accounts collab, wp dooo accounts collabs, wp dooo accounts share, wp dooo accounts shares, wp dooo user collab, wp dooo user collabs, wp dooo user share, wp dooo user shares, wp dooo users collab, wp dooo users collabs, wp dooo users share, wp dooo users shares, wp dooo cpanel collab, wp dooo cpanel collabs, wp dooo cpanel share, wp dooo cpanel shares
Usage:
wp dooo account collab wp dooo account collab <USERNAME@HOSTNAME|ACCOUNT ID> <WORDPRESS ID> wp dooo account collab <"account"|"user"> <ACCOUNT ID|WORDPRESS ID>
Function: This (sub)command will share the specified (by Username@Hostname or Account ID) cPanel account with the specified (by WP User ID) WP user. If no account or user is specified it will return a list of existing collaborations. If the strings "account" or "user" are passed followed by an Account ID or WordPress ID it will return a list of collaborations; either those on a particular account or those accessible by a particular WordPress user (determined by the previous string).
wp dooo account uncollab
Aliases: wp dooo account unshare, wp dooo accounts uncollab, wp dooo accounts unshare, wp dooo user uncollab, wp dooo user unshare, wp dooo users uncollab, wp dooo users unshare, wp dooo cpanel uncollab, wp dooo cpanel unshare
Usage:
wp dooo account uncollab <COLLABORATION ID>
Function: This (sub)command will remove the specified (by Collaboration ID) collaboration; the wp dooo account collab (with no arguments) will return a list of collaborations, including their IDs.
wp dooo account note
Aliases: wp dooo accounts note, wp dooo user note, wp dooo users note, wp dooo cpanel note
Usage:
wp dooo account note <USERNAME@HOSTNAME|ACCOUNT ID> [UPDATED NOTE]
Function: This (sub)command will return specified (by Username@Hostname or Account ID) account's note, or update it if a new note is specified.
wp dooo account log
Aliases: wp dooo accounts log, wp dooo user log, wp dooo users log, wp dooo cpanel log
Usage:
wp dooo account log <USERNAME@HOSTNAME|ACCOUNT ID>
Function: This (sub)command will return specified (by Username@Hostname or Account ID) cPanel account's log.
wp dooo account info
Aliases: wp dooo accounts info, wp dooo user info, wp dooo users info, wp dooo cpanel info
Usage:
wp dooo account info <USERNAME@HOSTNAME|ACCOUNT ID> <WHMAPI ACCOUNTSUMMARY ARRAY KEY>
Function: This (sub)command will return information about the specified (by Username@Hostname or Account ID) cPanel account. What is to be returned needs to be specified by an array key
wp dooo account sync
Aliases: wp dooo accounts sync, wp dooo user sync, wp dooo users sync, wp dooo cpanel sync
Usage:
wp dooo account sync <USERNAME@HOSTNAME|ACCOUNT ID>
Function: This (sub)command will sync the specified (by Username@Hostname or Account ID) cPanel account's account status, suspend reason, prmary domain from WHM to WordPress and its contact email from WordPress to WHM.
wp dooo account chown
Aliases: wp dooo accounts chown, wp dooo user chown, wp dooo users chown, wp dooo cpanel chown
Usage:
wp dooo account chown <USERNAME@HOSTNAME|ACCOUNT ID> <WORDPRESS ID>
Function: This (sub)command will change owner of the specified (by Username@Hostname or Account ID) cPanel account to the specified (by WP User ID) WordPress user.
wp dooo account passwd
Aliases: wp dooo accounts passwd, wp dooo user passwd, wp dooo users passwd, wp dooo cpanel passwd
Usage:
wp dooo account passwd <USERNAME@HOSTNAME|ACCOUNT ID> [NEW PASSWORD]
Function: This (sub)command will change the password on the specified (by Username@Hostname or Account ID) cPanel account. If no password is specified, a random one will be generated.
Bulk Account Management
Account management actions are intended to be performed on single accounts, but the WP CLI commands for DoOO V2 include a few commands that allow for bulk actions to be run.
wp dooo bulk create
Aliases: wp dooo bulk add
Usage:
wp dooo bulk create <PATH TO FILE>
Function: This (sub)command will create cPanel accounts in bulk. It will read from a CSV (with no headers) containing relevant account information. The columns must, in order, be: WordPress ID/Email/Username, cPanel Username, Server Hostname, and cPanel Domain.
File Example:
3,user1proj,exampleskool1.reclaimhosting.com,user1.projekt.exampleskool.tld user2@exampleskool.tld,user2proj,exampleskool1.reclaimhosting.com,user2.projekt.exampleskool.tld user3,user3proj,exampleskool2.reclaimhosting.com,user3.projekt.exampleskool.tld
wp dooo bulk terminate
Usage:
wp dooo bulk terminate <PATH TO FILE> <MATCH BY>
Function: This (sub)command will terminate cPanel accounts in bulk. It will read from a list (a flat text file, one account per line, at the path specified in the first argument) of accounts, and match those accounts by an identifier (specified in the second argument). Valid match by values include accountid for Account IDs, userat for "Username@Hostname" values, and wpuser for WordPress users; the first two options will terminate specific accounts, but the latter will terminate and and all accounts associated with that WP User.
File Example:
user1@school.tld user2@school.tld user3@school.tld
wp dooo bulk suspend
Usage:
wp dooo bulk suspend <PATH TO FILE> <MATCH BY>
Function: This (sub)command will suspend cPanel accounts in bulk. It will read from a list (a flat text file, one account per line, at the path specified in the first argument) of accounts, and match those accounts by an identifier (specified in the second argument). Valid match by values include accountid for Account IDs, userat for "Username@Hostname" values, and wpuser for WordPress users; the first two options will suspend specific accounts, but the latter will suspend and and all accounts associated with that WP User.
File Example:
user1@school.tld user2@school.tld user3@school.tld
wp dooo bulk unsuspend
Usage:
wp dooo bulk unsuspend <PATH TO FILE> <MATCH BY>
Function: This (sub)command will unsuspend cPanel accounts in bulk. It will read from a list (a flat text file, one account per line, at the path specified in the first argument) of accounts, and match those accounts by an identifier (specified in the second argument). Valid match by values include accountid for Account IDs, userat for "Username@Hostname" values, and wpuser for WordPress users; the first two options will unsuspend specific accounts, but the latter will unsuspend and and all accounts associated with that WP User.
File Example:
user1@school.tld user2@school.tld user3@school.tld