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 |
|---|---|---|---|
|
|
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 |
|
|
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 |
|
|
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 |
|---|---|---|---|
|
|
Enables/Disables a domain administrator's access to control panel. Is |
To enable example.com administrator access to control panel: >domadmin.exe --update example.com -status true |
|
|
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 |
|
|
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 |
|
|
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" |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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." |
|
|
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" |
|
|
Specifies a domain administrator's state. |
To change the example.com administrator's State/Province to NY: >domadmin.exe -u example.com -state NY |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
Allows/Prohibits having several simultaneous sessions in the control panel. Is |
To allow example.com administrator to have several simultaneous sessions in the control panel: >domadmin.exe -u example.com -multiple-sessions true |
|
|
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 |
|
|
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" |
|
|
Prevents/Allows working with Plesk until page is completely loaded. Is |
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 |
|
|
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" |
|
|
Allows/Prohibits managing physical hosting. Is |
To allow example.com administrator to manage physical hosting: >domadmin.exe -u example.com -manage_phosting true |
|
|
Allows/Prohibits managing access to the system through remote desktop. Is |
To allow example.com administrator to manage system access: >domadmin.exe -u example.com -manage_sh_access true |
|
|
Allows/Prohibits changing limits on using disk space. Is |
To allow example.com administrator to set hard disk quota: >domadmin.exe -u example.com -manage_quota true |
|
|
Allows/Prohibits managing subdomains. Is |
To allow example.com administrator to manage subdomains: >domadmin.exe -u example.com -manage_subdomains true |
|
|
Allows/Prohibits managing domain aliases. Is |
To allow example.com administrator to manage domain aliases: >domadmin.exe -u example.com -manage_domain_aliases true |
|
|
Allows/Prohibits managing log rotation, namely, to adjust the cleanup and recycling of processed log files. Is |
To allow example.com administrator to manage log rotation: >domadmin.exe -u example.com -manage_log true |
|
|
Allows/Prohibits managing Anonymous FTP. Is |
To allow example.com administrator to manage Anonymous FTP: >domadmin.exe -u example.com -manage_anonftp true |
|
|
Allows/Prohibits managing additional FTP accounts. Is |
To allow example.com administrator to manage additional FTP accounts: >domadmin.exe -u example.com -manage_subftp true |
|
|
Allows/Prohibits managing task scheduler. Is |
To allow example.com administrator to manage task scheduler: >domadmin.exe -u example.com -manage_crontab true |
|
|
Allows/Prohibits managing DNS. Is |
To allow example.com administrator to manage DNS: >domadmin.exe -u example.com -manage_crontab -manage_dns true |
|
|
Allows/Prohibits managing Tomcat web applications. Is |
To allow example.com administrator to manage Tomcat web applications: >domadmin.exe -u example.com -manage_webapps true |
|
|
Allows/Prohibits managing mailing lists. Is |
To allow example.com administrator to manage mailing lists: >domadmin.exe -u example.com -manage_maillists true |
|
|
Allows/Prohibits managing server-side antivirus protection. Is |
To allow example.com administrator to manage antivirus: >domadmin.exe -u example.com -manage_virusfilter true |
|
|
Allows/Prohibits backing up and restoring domain. Is |
To allow example.com administrator to back up and restore the domain: >domadmin.exe -u example.com -make_dumps true |
|
|
Allows/Prohibits using Sitebuilder. Is |
To allow example.com administrator to manage Sitebuilder: >domadmin.exe -u example.com -site_builder true |
|
|
Allows/Prohibits managing hosting performance. Is |
To allow example.com administrator to manage hosting performance: >domadmin.exe -u example.com -manage_performance true |
|
|
Allows/Prohibits managing IIS application pool. Is |
To allow example.com administrator to manage IIS application pool: >domadmin.exe -u example.com -manage_iis_app_pool true |
|
|
Allows/Prohibits managing Web Statistics, namely, to choose which of the web statistics tools (or none) to use. Is Available since Plesk 8.1.1. |
To allow example.com administrator to manage web statistics: >domadmin.exe -u example.com -manage_webstat true |
|
|
Allows/Prohibits managing additional write and modify permissions. If it is May be required for web applications correct functioning, but is insecure. Is 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 |
|
|
Allows/Prohibits configuring spam filter on the mail account level (if the correspondent option is enabled in the server-wide configuration). Is Available since Plesk 8.1.1. |
To allow example.com administrator to configure spam filter: >domadmin.exe --update example.com -manage_spamfilter true |
|
|
Allows/Prohibits managing desktop view. Can be set to Is |
To prohibit example.com administrator from managing desktop view: >domadmin.exe -u example.com -manage_dashboard false |
|
|
Allows/Prohibits using desktop view. Can be set to Is |
To prohibit example.com administrator from using desktop view: >domadmin.exe -u example.com -dashboard false |
|
|
Allows/Prohibits using Plesk standard view. Can be set to Is Available since Plesk 8.1.1. |
To prohibit example.com administrator from using Plesk standard view: >domadmin.exe -u example.com -stdgui false |
|
|
Allows/Prohibits choosing DB server from the servers registered in Plesk, when creating a database. Is 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 |