The reseller utility serves to set and update reseller template limits, permissions, and preferences._template.exe
The utility allows the following operations:
Location
%plesk_cli%
Usage
reseller_template.exe <command> [<template_name>] [
<option 1> <param 1>[<param 2>…<param n>]
[<option 2> <param 1>[<param 2>…<param n>]]
… [<option N> <param 1>[<param 2>…<param n>]]
]
Example
The following command changes name of the existing reseller template SampleTemplate 1 to SampleTemplate 2, allows hard disk quota management, and domain creation to resellers created with this template, sets the disk space limit to unlimited, enables allocation of up to 12 exclusive IP addresses to the reseller accounts, and sets the validity period for the reseller accounts to 1 year from the creation date.
>reseller_template.exe --update "Sample Template 1" -new-name "Sample Template 2" -manage_quota true -create_domains true -disk_space -1 -excl_ip_num 12 -expiration 1Y
Commands
Command |
Parameter |
Description |
Example |
|---|---|---|---|
|
|
Creates a reseller template. |
To create the reseller template named Sample Template: >reseller_template.exe --create "Sample Template" or >reseller_template.exe -c "Sample Template" |
|
|
Sets various properties of a reseller template. |
To rename the reseller template from Sample Template 1 to Sample Template 2: >reseller_template.exe --update "Sample Template 1" -new-name "Sample Template 2" or >reseller_template.exe -u "Sample Template 1" -new-name "Sample Template 2" |
|
|
Removes a reseller template. |
To remove the reseller template Sample Template: >reseller_template.exe --remove "Sample Template" or >reseller_template.exe -r "Sample Template" |
|
|
Displays reseller template limits, permissions, preferences and IP addresses. |
To view information on the reseller template Sample Template: >reseller_template.exe --info "Sample Template" or >reseller_template.exe -i "Sample Template" |
|
|
Displays information on a reseller template in the xml format. |
To view information on the reseller template Sample Template in the xml format: >reseller_template.exe --xml-info "Sample Template" or >reseller_template.exe -x "Sample Template" |
|
|
Displays help on the utility use |
To view help on the use of the utility: >reseller_template.exe --help or >reseller_template.exe -h |
Options
Option |
Parameter |
Description |
Example |
|---|---|---|---|
|
|
Sets a new name for an existing reseller template. |
To rename the reseller template from Sample Template 1 to Sample Template 2: >reseller_template.exe --update "Sample Template 1" -new-name "Sample Template 2" |
|
|
Allows/Prohibits accessing Parallels Plesk Panel GUI (as opposite to using Plesk API). Is |
To prohibit resellers created with the template Sample Template from accessing to Plesk CP: >reseller_template.exe -u "Sample Template" -cp_access false |
|
|
Allows/Prohibits creating domains. Is |
To allow resellers created with the template Sample Template to set up hosting accounts for new sites: >reseller_template.exe -u "Sample Template" -create_domains true |
|
|
Allows/Prohibits managing physical hosting. Is |
To allow resellers created with the template Sample Template to manage physical hosting: >reseller_template.exe -u "Sample Template" -manage_phosting true |
|
|
Allows/Prohibits managing access to the system through Remote Desktop. Is |
To allow resellers created with the template Sample Template to manage system access: >reseller_template.exe -u "Sample Template" -manage_sh_access true |
|
|
Allows/Prohibits changing limit on using disk space. Is |
To allow resellers created with the template Sample Template to change hard disk quota: >reseller_template.exe -u "Sample Template" -manage_quota true |
|
|
Allows/Prohibits managing subdomains. Is |
To allow resellers created with the template Sample Template to manage subdomains: >reseller_template.exe -u "Sample Template" -manage_subdomains true |
|
|
Allows/Prohibits managing domain aliases. Is |
To allow resellers created with the template Sample Template to manage domain aliases: >reseller_template.exe -u "Sample Template" -manage_domain_aliases true |
|
|
Allows/Prohibits managing log rotation, namely, to adjust the cleanup and recycling of processed log files. Is |
To allow resellers created with the template Sample Template to manage log rotation: >reseller_template.exe -u "Sample Template" -manage_log true |
|
|
Allows/Prohibits managing Anonymous FTP. Is |
To allow resellers created with the template Sample Template to manage Anonymous FTP: >reseller_template.exe -u "Sample Template" -manage_anonftp true |
|
|
Allows/Prohibits managing additional FTP accounts. Is |
To allow resellers created with the template Sample Template to manage additional FTP accounts: >reseller_template.exe -u "Sample Template" -manage_subftp true |
|
|
Allows/Prohibits managing task scheduler. Is |
To allow resellers created with the template Sample Template to manage task scheduler: >reseller_template.exe -u "Sample Template" -manage_crontab true |
|
|
Allows/Prohibits changing domain limits. Is |
To allow resellers created with the template Sample Template to change domain limits: >reseller_template.exe -u "Sample Template" -change_limits true |
|
|
Allows/Prohibits managing DNS. Is |
To allow resellers created with the template Sample Template to manage DNS: >reseller_template.exe -u "Sample Template" -manage_dns true |
|
|
Allows/Prohibits managing Tomcat web applications. Is |
To allow resellers created with the template Sample Template to manage Tomcat web applications: >reseller_template.exe -u "Sample Template" -manage_webapps true |
|
|
Allows/Prohibits managing mailing lists. Is |
To allow resellers created with the template Sample Template to manage mailing lists: >reseller_template.exe -u "Sample Template" -manage_maillists true |
|
|
Allows/Prohibits managing server-side antivirus protection. Is |
To allow resellers created with the template Sample Template to manage antivirus: >reseller_template.exe -u "Sample Template" -manage_virusfilter true |
|
|
Allows/Prohibits backing up and restoring domains. Is |
To allow resellers created with the template Sample Template to back up and restore domains: >reseller_template.exe -u "Sample Template" -make_dumps true |
|
|
Allows/Prohibits using Parallels Plesk Panel API. Is |
To allow resellers created with the template Sample Template to use Parallels Plesk Panel API: >reseller_template.exe -u "Sample Template" -remote_access_interface true |
|
|
Allows/Prohibits using Sitebuilder. Is |
To allow resellers created with the template Sample Template to use Sitebuilder >reseller_template.exe -u "Sample Template" -site_builder true |
|
|
Allows/Prohibits managing hosting performance. Is |
To allow resellers created with the template Sample Template to manage hosting performance: >reseller_template.exe -u "Sample Template" -manage_performance true |
|
|
Allows/Prohibits managing IIS application pool. Is |
To allow resellers created with the template Sample Template to manage IIS application pool: >reseller_template.exe -u "Sample Template" -manage_iis_app_pool true |
|
|
Allows/Prohibits managing desktop view. Can be set to Is |
To prohibit clients created with the template Sample Template from managing desktop view: >reseller_template.exe -u "Sample Template" -manage_dashboard false |
|
|
Allows/Prohibits using desktop view. Can be set to Is |
To prohibit resellers created with the template Sample Template from using desktop view: >reseller_template.exe -u "Sample Template" -dashboard false |
|
|
Allows/Prohibits managing Web Statistics on the reseller's domains, namely, to choose which of the web statistics tools (or none) to use. Is |
To allow resellers created with the template Sample Template to manage web statistics: >reseller_template.exe -u "Sample Template" -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 |
To allow resellers created with the template Sample Template to manage additional write/modify permissions: >reseller_template.exe -u "Sample Template" -manage_additional_permissions true |
|
|
Allows/Prohibits managing the Shared SSL feature: making one of the reseller's domains a Master SSL Domain which shares its SSL certificates with other domains, and creating shared SSL links to Master for his other domains. Is |
To allow resellers created with the template Sample Template to manage shared SSL: >reseller_template.exe -u "Sample Template" -manage_shared_ssl true |
|
|
Allows/Prohibits using Parallels Plesk Panel standard view. Can be set to Is |
To prohibit resellers created with the template Sample Template from using Parallels Plesk Panel standard view: >reseller_template.exe -u "Sample Template" -stdgui false |
|
|
Allows/Prohibits creating client accounts. Is |
To allow resellers created with the template Sample Template to create client accounts: >reseller_template.exe -u "Sample Template" -create_clients true |
|
|
Allows/Prohibits managing limits policy. Is |
To allow resellers created with the template Sample Template to manage limits policy: >reseller_template.exe -u "Sample Template" -allow-oversell true |
|
|
Specifies limits policy as follows:
Is |
To set limits policy for resellers created with the template Sample Template to strict: >reseller_template.exe -u "Sample Template" -oversell false |
|
|
Sets the limits overusage policy. Is |
To set limits overusage policy for resellers created with the template Sample Template to notify: >reseller_template.exe -u "Sample Template" -overuse notify |
|
|
Limits the number of available domains. Includes domains hosted on this server, and domain forwarders that point to web sites hosted on other servers. Unlimited if set to |
To restrict the maximum number of domains available to resellers created with the template Sample Template to 50: >reseller_template.exe -u "Sample Template" -max_dom 50 |
|
|
Limits the number of available domain aliases. Unlimited if set to |
To restrict the maximum number of domain aliases available to resellers created with the template Sample Template to 3 >reseller_template.exe -u "Sample Template" -max_dom_aliases 3 |
|
|
Limits the amount of available disk space. Unlimited if set to |
To restrict the maximum amount of disk space available to resellers created with the template Sample Template to 100 MB: >reseller_template.exe -u "Sample Template" -disk_space 100 |
|
|
Limits the monthly traffic usage. Unlimited if set to |
To restrict the maximum amount of traffic available to clients created with the template Sample Template to 10 GB/month: >reseller_template.exe -u "Sample Template" -max_traffic 10240 |
|
|
Limits the number of available mailboxes. Unlimited if set to |
To restrict the maximum number of mailboxes available to resellers created with the template Sample Template to 50: >reseller_template.exe -u "Sample Template" -max_box 50 |
|
|
Limits the amount of disk space that a single mailbox can occupy. Unlimited if set to |
To set the quota of a single mailbox to resellers created with the template Sample Template to 10 MB: >reseller_template.exe -u "Sample Template" -mbox_quota 10240 |
|
|
Limits the amount of disk space that all mailboxes can occupy. Unlimited if set to |
To set the total mailboxes quota to resellers created with the template Sample Template to 500 MB: >reseller_template.exe -u "Sample Template" -total_mboxes_quota 500 |
|
|
Limits the number of available mail redirects. Unlimited if set to |
To restrict the number of mail redirects available to resellers created with the template Sample Template to 3: >reseller_template.exe -u "Sample Template" -max_redir 3 |
|
|
Limits the number of available mail groups. Unlimited if set to |
To restrict the number of mail groups available to resellers created with the template Sample Template to 10: >reseller_template.exe -u "Sample Template" -max_mg 10 |
|
|
Limits the number of available mail autoresponders. Unlimited if set to |
To restrict the number of mail autoresponders available to resellers created with the template Sample Template to 5: >reseller_template.exe -u "Sample Template" -max_resp 5 |
|
|
Limits the number of available web users. Unlimited if set to |
To set the number of web users available to resellers created with the template Sample Template to unlimited: >reseller_template.exe -u "Sample Template" -max_wu -1 |
|
|
Limits the number of available additional Microsoft FrontPage accounts. Unlimited if set to |
To restrict the number of additional Microsoft FrontPage accounts available to resellers created with the template Sample Template to 50: >reseller_template.exe -u "Sample Template" -max_fpse_users 50 |
|
|
Limits the number of available additional FTP accounts. Unlimited if set to |
To restrict the number of additional FTP accounts available to clients created with the template Sample Template to 100: >reseller_template.exe -u "Sample Template" -max_subftp_users 100 |
|
|
Limits the number of available MySQL databases. Unlimited if set to |
To restrict the number of MySQL databases available to resellers created with the template Sample Template to 15: >reseller_template.exe -u "Sample Template" -max_db 15 |
|
|
Limits the number of available Microsoft SQL databases. Unlimited if set to |
To restrict the number of Microsoft SQL databases available to resellers created with the template Sample Template to 10: >reseller_template.exe -u "Sample Template" -max_mssql_db 10 |
|
|
Limits the amount of disk space that all MySQL databases can occupy. Unlimited if set to |
To set the MySQL databases quota to resellers created with the template Sample Template to unlimited: >reseller_template.exe -u "Sample Template" -mysql_dbase_space -1 |
|
|
Limits the amount of disk space that all Microsoft SQL databases can occupy. Unlimited if set to |
To restrict the Microsoft SQL databases quota to resellers created with the template Sample Template to 100 MB: >reseller_template.exe -u "Sample Template" -mssql_dbase_space 100 |
|
|
Limits the number of available mailing lists. Unlimited if set to |
To restrict the maximum number of mailing lists available to resellers created with the template Sample Template to 100: >reseller_template.exe -u "Sample Template" -max_maillists 100 |
|
|
Limits the number of available Tomcat applications. Unlimited if set to |
To restrict the maximum number of Tomcat applications available to resellers created with the template Sample Template to 100: >reseller_template.exe -u "Sample Template" -max_webapps 100 |
|
|
Limits the number of available subdomains. Unlimited if set to |
To restrict the maximum number of subdomains available to resellers created with the template Sample Template to 20: >reseller_template.exe -u "Sample Template" -max_subdom 20 |
|
|
Limits the number of available IIS application pools. Unlimited if set to |
To restrict the maximum number of IIS application pools available to resellers created with the template Sample Template to 50: >reseller_template.exe -u "Sample Template" -max_iis_app_pools 50 |
|
|
Limits the number of available shared SSL links. Unlimited if set to |
To set the number of shared SSL links available to resellers created with the template Sample Template to unlimited: >reseller_template.exe -u "Sample Template" -max_shared_ssl_links -1 |
|
|
Limits the number of available ODBC connections. Unlimited if set to |
To set the number of ODBC connections available to resellers created with the template Sample Template to unlimited: >reseller_template.exe -u "Sample Template" -max_odbc -1 |
|
|
Limits the validity period of reseller accounts created with the template. Unlimited if set to |
To restrict the validity period to reseller accounts created with the template Sample Template to 20 days: >reseller_template.exe -u "Sample Template" -expiration 20D To restrict the validity period to resellers created with the template Sample Template to 1 year: >reseller_template.exe -u "Sample Template" -expiration 1Y |
|
|
Limits the number of available client accounts. |
To restrict the number of client accounts available to resellers created with the template Sample Template to 5: >reseller_template.exe -u "Sample Template" -max_cl 5 |
|
|
Adds/Deletes shared IP addresses to/from IP address pool. |
To add IP addresses 192.0.2.12 and 192.0.2.32 to IP address pools of resellers created with the template Sample Template: >reseller_template.exe -u "Sample Template" -ip_pool add:192.0.2.12,192.0.2.32 |
|
|
Limits the number of available exclusive IP addresses. |
To restrict the number of exclusive IP addresses available to resellers created with the template Sample Template: >reseller_template.exe -u "Sample Template" -excl_ip_num 12 |
|
|
Limits the number of available Coldfusion DSN connections. Unlimited if set to |
To set the number of Coldfusion DSN connections available to resellers created with the template Sample Template to unlimited: >reseller_template.exe -u "Sample Template" -max_cf_dsn -1 |
|
|
Allows/Prohibits choosing DB server from the servers registered in Parallels Plesk Panel, when creating a database. Is |
To allow the resellers created with the template Sample Template to choose a DB server when creating a database: >reseller_template.exe --update "Sample Template" -select_db_server true |
Note: If the -dashboard and -stdgui options are not specified when a client template is created, the corresponding parameters will be set to true, that is, both the Parallels Plesk Panel standard view and Desktop view options will be enabled by default.