Domain Administrator Accounts: domadmin.exe

The domadmin.exe utility is designed to manage domain administrators via CLI. The utility allows the following operations:

Location

%plesk_cli%

 

Usage

domadmin.exe <command> [<domain name>] [
<option 1> <param> [<option 2> <param>] … [<option N> <param>]
]

 

Example

The following command sets the personal name John Doe for the example.com administrator, allows the use of the standard user interface only, sets the administrator's password to log in to mypass, sets the interface language to Russian, and allows the domain content management by the domain administrator.

>domadmin.exe --update example.com -pname "John Doe" -dashboard false -stdgui true -passwd mypass -locale ru-RU -manage_phosting true

 

Commands

Command

Parameter

Description

Example

--update or -u

<domain name>

Updates a configuration of the existing domain administrator's account with data specified in the options.

To set a password of the administrator's account on the domain example.com to adminpass:

>domadmin.exe --update example.com -passwd adminpass

or

>domadmin.exe -u example.com -passwd newpassword

--info or -i

<domain name>

Displays information about the specified domain administrator's account.

To view the information about the administrator's account on the domain example.com:

>domadmin.exe --info example.com

or

>domadmin.exe -i example.com

--help or -h

 

Displays help on the use of the utility.

To view the help info on the use of this utility:

>domadmin.exe –help

or

>domadmin.exe -h

 

Options

Option

Parameter

Description

Example

-status

true|false

Enables/Disables a domain administrator's access to control panel.

Is false by default.

To enable example.com administrator access to control panel:

>domadmin.exe --update example.com -status true

-passwd

<password>

Specifies a domain administrator's password.

To set a password of the administrator's account on the domain example.com to adminpass:

>domadmin.exe -u example.com -passwd adminpass

-pname

<string>

Specifies a domain administrator's personal name.

To set the example.com administrator's personal name to John:

>domadmin.exe -u example.com -pname John

-company

<string>

Specifies a domain administrator's company name.

To change the example.com administrator's company name to MegaCompany:

>domadmin.exe -u example.com -company "MegaCompany"

-phone

<number>

Specifies a domain administrator's phone number.

To change the example.com administrator's phone number to 123123123:

>domadmin.exe -u example.com -phone 123123123

-fax

<number>

Specifies a domain administrator's fax number.

To change the example.com administrator's fax number to 123123123:

>domadmin.exe -u example.com -fax 123123123

-email

<email>

Specifies a domain administrator's email address.

To set the example.com administrator's email to John@example.com:

>domadmin.exe -u example.com -email John@example.com

-address

<string>

Specifies a domain administrator's street address.

To set the example.com administrator's address to 17 Elm str.:

>domadmin.exe -u example.com -address "17 Elm str."

-city

<string>

Specifies a domain administrator's city.

To set the example.com administrator's city to New York:

>domadmin.exe -u example.com -city "New York"

-state

<string>

Specifies a domain administrator's state.

To change the example.com administrator's State/Province to NY:

>domadmin.exe -u example.com -state NY

-zip

<string>

Specifies a domain administrator's ZIP/postal code.

To change the example.com administrator's Postal/ZIP code to 13808:

>domadmin.exe -u example.com -zip 13808

-country

<string>

Specifies a domain administrator's country.

To change the example.com administrator's country to United States:

(consult ISO-3166 for the country code)

>domadmin.exe -u example.com -country US

-locale

<string>

Specifies which language is used in a client's control panel interface.

String should contain the first two letters of the language name and first two letters of the country name.

To set Italian language as default for the example.com administrator's account:

(consult ISO-3166 for the language code)

>domadmin.exe -u example.com -locale it-IT

-multiple-sessions

true|false

Allows/Prohibits having several simultaneous sessions in the control panel.

Is false by default.

To allow example.com administrator to have several simultaneous sessions in the control panel:

>domadmin.exe -u example.com -multiple-sessions true

-max-button-length

<integer>

Limits button label length for the domain administrator's control panel interface.

To restrict the maximum button label length for the example.com administrator's control panel interface to 10:

>domadmin.exe -u example.com -max-button-length 10

-skin

<string>

Specifies which skin is used in a domain administrator's control panel interface.

To set the example.com administrator's control panel interface skin to WinXP Reloaded:

>domadmin.exe -u example.com -skin "WinXP Reloaded"

-lock-screen

true|false

Prevents/Allows working with Plesk until page is completely loaded.

Is true by default.

To allow example.com administrator to work with the control panel even if control panel screens are not completely loaded:

>domadmin.exe -u example.com -lock-screen false

-desktop-preset

<string>

Specifies the desktop preset for the domain administrator's control panel interface.

To preset the example.com administrator's desktop to the New Domain Owner Desktop:

>domadmin.exe -u example.com -desktop-preset "New Domain Owner Desktop"

-manage_phosting

true|false

Allows/Prohibits managing physical hosting.

Is false by default.

To allow example.com administrator to manage physical hosting:

>domadmin.exe -u example.com -manage_phosting true

-manage_sh_access

true|false

Allows/Prohibits managing access to the system through remote desktop.

Is false by default.

To allow example.com administrator to manage system access:

>domadmin.exe -u example.com -manage_sh_access true

-manage_quota

true|false

Allows/Prohibits changing limits on using disk space.

Is false by default.

To allow example.com administrator to set hard disk quota:

>domadmin.exe -u example.com -manage_quota true

-manage_subdomains

true|false

Allows/Prohibits managing subdomains.

Is false by default.

To allow example.com administrator to manage subdomains:

>domadmin.exe -u example.com -manage_subdomains true

-manage_domain_aliases

true|false

Allows/Prohibits managing domain aliases.

Is false by default.

To allow example.com administrator to manage domain aliases:

>domadmin.exe -u example.com -manage_domain_aliases true

-manage_log

true|false

Allows/Prohibits managing log rotation, namely, to adjust the cleanup and recycling of processed log files.

Is false by default.

To allow example.com administrator to manage log rotation:

>domadmin.exe -u example.com -manage_log true

-manage_anonftp

true|false

Allows/Prohibits managing Anonymous FTP.

Is false by default.

To allow example.com administrator to manage Anonymous FTP:

>domadmin.exe -u example.com -manage_anonftp true

-manage_subftp

true|false

Allows/Prohibits managing additional FTP accounts.

Is false by default.

To allow example.com administrator to manage additional FTP accounts:

>domadmin.exe -u example.com -manage_subftp true

-manage_crontab

true|false

Allows/Prohibits managing task scheduler.

Is false by default.

To allow example.com administrator to manage task scheduler:

>domadmin.exe -u example.com -manage_crontab true

-manage_dns

true|false

Allows/Prohibits managing DNS.

Is false by default.

To allow example.com administrator to manage DNS:

>domadmin.exe -u example.com -manage_crontab -manage_dns true

-manage_webapps

true|false

Allows/Prohibits managing Tomcat web applications.

Is false by default.

To allow example.com administrator to manage Tomcat web applications:

>domadmin.exe -u example.com -manage_webapps true

-manage_maillists

true|false

Allows/Prohibits managing mailing lists.

Is false by default.

To allow example.com administrator to manage mailing lists:

>domadmin.exe -u example.com -manage_maillists true

-manage_virusfilter

true|false

Allows/Prohibits managing server-side antivirus protection.

Is false by default.

To allow example.com administrator to manage antivirus:

>domadmin.exe -u example.com -manage_virusfilter true

-make_dumps

true|false

Allows/Prohibits backing up and restoring domain.

Is false by default.

To allow example.com administrator to back up and restore the domain:

>domadmin.exe -u example.com -make_dumps true

-site_builder

true|false

Allows/Prohibits using Sitebuilder.

Is false by default.

To allow example.com administrator to manage Sitebuilder:

>domadmin.exe -u example.com -site_builder true

-manage_performance

true|false

Allows/Prohibits managing hosting performance.

Is false by default.

To allow example.com administrator to manage hosting performance:

>domadmin.exe -u example.com -manage_performance true

-manage_iis_app_pool

true|false

Allows/Prohibits managing IIS application pool.

Is false by default.

To allow example.com administrator to manage IIS application pool:

>domadmin.exe -u example.com -manage_iis_app_pool true

-manage_webstat

true|false

Allows/Prohibits managing Web Statistics, namely, to choose which of the web statistics tools (or none) to use.

Is false by default.

Available since Plesk 8.1.1.

To allow example.com administrator to manage web statistics:

>domadmin.exe -u example.com -manage_webstat true

-manage_additional_permissions

true|false

Allows/Prohibits managing additional write and modify permissions.

If it is true, the full access permission for the domain httpdocs/ and httpsdocs/ files and subfolders are granted to the Plesk IIS User.

May be required for web applications correct functioning, but is insecure.

Is false by default.

Available since Plesk 8.1.1.

To allow example.com administrator to manage additional write/modify permissions:

>domadmin.exe -u example.com -manage_additional_permissions true

-manage_spamfilter

true|false

Allows/Prohibits configuring spam filter on the mail account level (if the correspondent option is enabled in the server-wide configuration).

Is false by default.

Available since Plesk 8.1.1.

To allow example.com administrator to configure spam filter:

>domadmin.exe --update example.com -manage_spamfilter true

-manage_dashboard

true|false

Allows/Prohibits managing desktop view.

Can be set to true only if the -dashboard option is set to true.

Is true by default.

To prohibit example.com administrator from managing desktop view:

>domadmin.exe -u example.com -manage_dashboard false

-dashboard

true|false

Allows/Prohibits using desktop view.

Can be set to false only if the -stdgui option is set to true.

Is true by default.

To prohibit example.com administrator from using desktop view:

>domadmin.exe -u example.com -dashboard false

-stdgui

true|false

Allows/Prohibits using Plesk standard view.

Can be set to false only if the -dashboard option is set to true.

Is true by default.

Available since Plesk 8.1.1.

To prohibit example.com administrator from using Plesk standard view:

>domadmin.exe -u example.com -stdgui false

-select_db_server

true|false

Allows/Prohibits choosing DB server from the servers registered in Plesk, when creating a database.

Is false by default.

Available since Plesk 8.6.

To allow example.com administrator to choose a DB server on which a database is to be created:

>domadmin.exe -u example.com -select_db_server true