reseller_pref.exe: Reseller Limits, Permissions, and Interface Settings
The reseller_pref.exe
CL utility enables the administrator to set and update reseller's limits and permissions, and to define Plesk interface preferences (e.g. the default language and skin).
Location
%plesk_cli%
Usage
reseller_pref.exe <command> [<login_name>] [
<option_1> [<param>]
[<option_2> [<param>]]
... [<option_N> [<param>]]
Example
The following command updates the reseller account with the login name JDoe as follows: the reseller is allowed to manage log rotation and mailing lists, and to create customer accounts. The maximum number of available customer accounts for the reseller is restricted to 20.
reseller_pref.exe --update JDoe -manage_log true -manage_maillists true -create_clients true -max_cl 20
Commands
Command | Parameter | Description | Example |
---|---|---|---|
|
|
Sets various properties of a reseller account. |
To prohibit changing domain limits to the JDoe reseller account: reseller.exe --update JDoe -change_limits false or reseller.exe -u JDoe -change_limits false |
|
|
Displays a list of available skins. |
To view the list of available skins: reseller.exe --skin-list or reseller.exe -sl |
|
|
Set up the CPU usage settings of a reseller's IIS application pool. Used with the options: |
To set up the following CPU usage settings for the IIS application pool of the reseller account JDoe:
reseller.exe --set-iis-app-pool-settings Jdoe -iis-app-pool-turned-on true -cpu-usage-state true -cpu-usage-value 10 -cpu-usage-action Throttle |
|
|
Displays information on reseller's limits, permissions, IP pool settings and preferences. |
To retrieve the information about the JDoe reseller account: reseller.exe --info JDoe or reseller.exe -i JDoe |
|
|
Displays help on the utility use. |
To view help on the utility: reseller.exe --help or reseller.exe -h |
Options
Option | Parameter | Description | Example |
---|---|---|---|
|
|
Switches the reseller to Power User mode. |
To switch the reseller with the login name JDoe to the Power User mode: # ./reseller_pref -u JDoe -power-user true |
|
|
Allows/Prohibits creating domains. Is |
To allow the reseller with the login name JDoe to create domains: reseller.exe --update JDoe -create_domains true |
|
|
Allows/Prohibits managing physical hosting. Is |
To allow the reseller with the login name JDoe to manage physical hosting: reseller.exe --update JDoe -manage_phosting true |
|
|
Allows or prohibits managing common PHP settings. |
To allow the reseller with the login name JDoe to manage common PHP settings: reseller.exe --update JDoe -manage_php_settings true |
|
|
Allows or prohibits choosing PHP version and handler. |
To allow the reseller with the login name JDoe to choose the PHP version and handler: reseller.exe --update JDoe -manage_php_version true |
|
|
Allows/Prohibits managing DNS. Is |
To allow the reseller with the login name JDoe to manage DNS: reseller.exe --update JDoe -manage_dns true |
|
|
Allows/Prohibits managing log rotation, namely, to adjust the cleanup and recycling of processed log files. Is |
To allow the reseller with the login name JDoe to manage log rotation: reseller.exe --update JDoe -manage_log true |
|
|
Allows/Prohibits managing task scheduler. Is |
To allow the reseller with the login name JDoe to manage task scheduler: reseller.exe --update JDoe -manage_crontab true |
|
|
Allows/Prohibits managing Anonymous FTP. A web site should reside on a dedicated IP address in order to use anonymous FTP service. Is |
To allow the reseller with the login name JDoe to manage Anonymous FTP: reseller.exe --update JDoe -manage_anonftp true |
|
|
Allows/Prohibits managing Tomcat web applications. Is |
To allow the reseller with the login name JDoe to manage Tomcat web applications: reseller.exe --update JDoe -manage_webapps true |
|
|
Allows or prohibits managing the mail settings. |
To allow the reseller with the login name JDoe to manage mail settings: reseller.exe --update JDoe -manage_mail_settings true |
|
|
Allows/Prohibits managing mailing lists. Is |
To allow the reseller with the login name JDoe to manage mailing lists: reseller.exe --update JDoe -manage_maillists true |
|
|
Allows/Prohibits managing access to the system through Remote Desktop. Is |
To allow the reseller with the login name JDoe to manage system access: reseller.exe --update JDoe -manage_sh_access true |
|
|
Allows/Prohibits managing subdomains. Is |
To allow the reseller with the login name JDoe to manage subdomains: reseller.exe --update JDoe -manage_subdomains true |
|
|
Allows/Prohibits changing limit on using disk space. Is |
To allow the reseller with the login name JDoe to change the hard disk quota: reseller.exe --update JohnDoe -manage_quota true |
|
|
Allows/Prohibits managing server-side antivirus protection. Is |
To allow the reseller with the login name JDoe to manage antivirus: reseller.exe --update JDoe -manage_virusfilter true |
|
|
Allows or prohibits backing up and restoring websites, and keeping backup files on the hosting server. |
To allow the reseller with the login name JDoe to back up and restore websites, and keep the data on the server: reseller.exe --update JDoe -allow_local_backups true |
|
|
Allows or prohibits backing up and restoring websites, and saving them to custom FTP servers. |
To allow the reseller with the login name JDoe to back up and restore websites, and keep the data on custom FTP servers: reseller.exe --update JDoe -allow_ftp_backups true |
|
|
Allows or prohibits backing up and restoring accounts and keeping backup files on the hosting server. |
To allow the reseller with the login name JDoe to back up and restore accounts, and keep the data on the server: reseller.exe --update JDoe -allow_account_local_backups true |
|
|
Allows or prohibits backing up and restoring accounts and saving them to custom FTP servers. |
To allow the reseller with the login name JDoe to back up and restore accounts, and keep the data on custom FTP servers: reseller.exe --update JDoe -allow_account_ftp_backups true |
|
|
Allows/Prohibits using Plesk API. Is |
To allow the reseller with the login name JDoe to use Plesk API: reseller.exe --update JDoe -remote_access_interface true |
|
|
Allows/Prohibits using Presence Builder. Is |
To allow the reseller with the login name JDoe to use Presence Builder: reseller.exe --update JDoe -site_builder true |
|
|
Limits the number of available domains. Includes domains hosted on this server, and domain forwarders that point to domains hosted on other servers. Unlimited if set to |
To restrict the maximum number of domains available to the reseller with the login name JDoe to 3: reseller.exe --update JDoe -max_dom 3 |
|
|
Limits the number of available domain aliases. Unlimited if set to |
To restrict the maximum number of domain aliases available to the reseller with the login name JDoe to 2: reseller.exe --update JDoe -max_dom_aliases 2 |
|
|
Limits the amount of available disk space. Unlimited if set to |
To restrict the maximum amount of disk space available to the reseller with the login name JDoe to 1 GB: reseller.exe --update JDoe -disk_space 1024M |
|
|
Sets the amount of disk space upon reaching which notification is sent. |
To set the amount of disk space upon reaching which notification is sent for the reseller with the login name JDoe to 700 MB: >reseller_pref -u JDoe -disk_space_soft 700M |
|
|
Limits monthly traffic usage. Unlimited if set to |
To restrict the maximum amount of traffic available to the reseller with the login name JDoe to 10 GB: reseller.exe --update JDoe -max_traffic 10240M |
|
|
Sets the monthly amount of traffic upon reaching which notification is sent. |
To set the amount of traffic upon reaching which notification is sent to 5 GB/month: >reseller_pref -u JDoe -max_traffic_soft 5120M |
|
|
Limits the number of available mailboxes. Unlimited if set to |
To restrict the maximum number of mailboxes available to the reseller with the login name JDoe to 10: reseller.exe --update JDoe -max_box 10 |
|
|
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 the reseller with the login name JDoe to 100 MB: reseller.exe --update JDoe -mbox_quota 102400 |
|
|
Limits the number of available web users. Unlimited if set to |
To set the number of web users available to the reseller with the login name JDoe to unlimited: reseller.exe --update JDoe -max_wu -1 |
|
|
Limits the number of available mailing lists. Unlimited if set to |
To restrict the maximum number of mailing lists available to the reseller with the login name JDoe to 30: reseller.exe --update JDoe -max_maillists 30 |
|
|
Limits the number of available additional Microsoft FrontPage accounts. Unlimited if set to |
To set the number of additional Microsoft FrontPage accounts available to the reseller with the login name JDoe to unlimited: reseller.exe -u JDoe -max_fpse_users -1 |
|
|
Limits the number of available additional FTP accounts. Unlimited if set to |
To restrict the maximum number of additional FTP accounts available to the reseller with the login name JDoe to 100: reseller.exe -u JDoe -max_subftp_users 100 |
|
|
Limits the number of available MySQL databases. Unlimited if set to |
To restrict the maximum number of MySQL databases available to the reseller with the login name JDoe to 5: reseller.exe -u JDoe -max_db 5 |
|
|
Limits the number of available Microsoft SQL databases. Unlimited if set to |
To restrict the number of Microsoft SQL databases available to the reseller with the login name JDoe to 15: reseller.exe --update JDoe -max_mssql_db 15 |
|
|
Limits the amount of disk space that all MySQL databases can occupy. Unlimited if set to |
To set the MySQL databases quota to the reseller with the login name JDoe to 200 MB: reseller.exe --update JDoe -mysql_dbase_space 200M |
|
|
Limits the amount of disk space that all Microsoft SQL databases can occupy. Unlimited if set to |
To set the Microsoft SQL databases quota to the reseller with the login name JDoe to 300 MB: reseller.exe --update JDoe -mssql_dbase_space 300M |
|
|
Limits the number of available Tomcat web applications. Unlimited if set to |
To restrict the maximum number of Tomcat web applications available to the reseller with the login name JDoe to 50: reseller.exe --update JohnDoe -max_webapps 50 |
|
|
Limits the number of available subdomains. Unlimited if set to |
To restrict the maximum number of subdomains available to the reseller with the login name JDoe to 4: reseller.exe -u JDoe -max_subdom 4 |
|
|
Limits the number of available IIS application pools. Unlimited if set to |
To restrict the maximum number of IIS application pools available to the reseller with the login name JDoe to 6: reseller.exe -u JDoe -max_iis_app_pools 6 |
|
|
Limits the number of available shared SSL links. Unlimited if set to |
To restrict the maximum number of shared SSL links available to the reseller with the login name JDoe to 3: reseller.exe -u JDoe -max_shared_ssl_links 3 |
|
|
Limits the number of ODBC DSN connections available to the reseller. Unlimited if set to |
To restrict the maximum number of ODBC connections available to the reseller with the login name JDoe to 5: reseller.exe -u JDoe -max_odbc_dsn 5 |
|
|
Specifies which language is used in a reseller'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 JDoe reseller account: reseller.exe -u JDoe -language it-IT |
|
|
Specifies which skin is used in a reseller's control panel interface. |
To set the WinXP Reloaded skin for the JDoe reseller account: reseller.exe --update JDoe -desktop-preset "WinXP Reloaded" |
|
|
Allows/Prohibits having several simultaneous sessions under reseller's login. Is |
To prohibit multiple sessions to run simultaneously under login of the reseller with the login name JDoe: reseller.exe -u JDoe -multiple-sessions false |
|
|
Turns on or off an IIS application pool for a reseller. |
To turn off IIS application pool for the reseller Jdoe:
reseller.exe --set-iis-app-pool-settings Jdoe -iis-app-pool-turned-on false |
|
|
Sets the maximum number of worker processes permitted to service requests for IIS application pool. |
To set the maximum number of worker processes for the dedicated IIS application pool of the reseller Jdoe to 3: >customer.exe --update Jdoe -iis_app_pool true |
|
|
Configures ASP.NET to run in classic mode as an ISAPI extension or in integrated mode where managed code is integrated into the request-processing pipeline. |
To have ASP.NET run in the integrated mode for the dedicated IIS application pool of the reseller Jdoe: >customer.exe --update Jdoe -iis_app_pool true |
|
|
The amount of time a worker process will remain idle before it shuts down. |
To set the length of time worker processes for the dedicated IIS application pool of the reseller Jdoe are allowed to remain idle to 2 minutes: >customer.exe --update Jdoe -iis_app_pool true |
|
|
Switches IIS application pool CPU usage monitoring on or off. |
To set up the following CPU usage settings for the IIS application pool of the reseller JDoe:
|
|
|
Specifies the maximum percentage of CPU time that worker processes in an application pool are allowed to consume over a period of time specified by the If the limit is exceeded, the event is written to the event log and an optional set of events can be triggered. These optional events are determined by the |
|
|
|
Specifies the action that IIS takes when worker processes exceed the limit on CPU time usage.
|
|
|
|
Specifies the reset interval for monitoring of CPU usage by worker processes. |
|
|
|
The period of time after which IIS application pool recycles. |
To set the period of time after which the dedicated IIS application pool of the reseller Jdoe recycles to 1 hour: reseller.exe --update Jdoe -iis_app_pool true |
|
|
The maximum number of requests IIS application pool can process before it recycles. |
To set the maximum number of requests the dedicated IIS application pool of the reseller Jdoe can process before it recycles to 1000: reseller.exe --update Jdoe -iis_app_pool true |
|
|
The maximum amount of virtual memory a worker process can consume before causing IIS application pool to recycle. |
To set the maximum amount of virtual memory a worker process can consume before causing the dedicated IIS application pool of the reseller Jdoe to recycle to 5 MB: reseller.exe --update Jdoe -iis_app_pool true |
|
|
The maximum amount of private memory a worker process can consume before causing IIS application pool to recycle. |
To set the maximum amount of private memory a worker process can consume before causing the dedicated IIS application pool of the reseller Jdoe to recycle to 10 MB: reseller.exe --update Jdoe -iis_app_pool true |
|
|
Allows/Prohibits managing additional FTP accounts. Is |
To allow the reseller with the login name JDoe to manage additional FTP accounts: reseller.exe --update JDoe -manage_subftp true |
|
|
Allows/Prohibits managing domain aliases. Is |
To allow the reseller with the login name JDoe to manage domain aliases: reseller.exe --update JDoe -manage_domain_aliases true |
|
|
Allows/Prohibits managing hosting performance. Is |
To allow the reseller with the login name JDoe to manage hosting performance settings: reseller.exe --update JDoe -manage_performance true |
|
|
Allows/Prohibits managing IIS application pool. Is |
To allow the reseller with the login name JDoe to manage IIS application pool: reseller.exe --update JDoe -manage_iis_app_pool true |
|
|
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 the reseller with the login name JDoe to manage web statistics: reseller.exe --update JDoe -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 the reseller with the login name JDoe to manage additional write/modify permissions: reseller.exe --update JDoe -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 |
To allow the reseller with the login name JohnDoe to configure spam filter: reseller.exe --update JDoe -manage_spamfilter 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 the reseller with the login name JDoe to manage shared SSL: reseller.exe --update JDoe -manage_shared_ssl true |
|
|
Allows/Prohibits choosing DB server from the servers registered in Plesk, when creating a database. Is |
To allow the reseller with the login name JDoe to choose a DB server when creating a database: reseller.exe --update JDoe -select_db_server true |
|
|
Allows or prohibits managing remote database access settings. |
To allow the reseller with the login name JDoe to manage remote database access settings. reseller.exe --update JDoe -remote_db_connection true |
|
|
Allows or prohibits access to applications catalog for viewing and installing prepackaged applications on sites. |
To allow the reseller with the login name JDoe to access applications catalog and install applications on websites: reseller.exe -u JDoe -access_appcatalog true |
|
|
Allows or prohibits overriding server-wide security policy on web hosting scripting options, if the policy is set up. |
To allow the reseller with the login name JDoe to override security policy: reseller.exe -u JDoe -allow_insecure_sites true |
|
|
Allows/Prohibits creating customer accounts. Is |
To allow the reseller with the login name JDoe to create customer accounts: reseller.exe -u JDoe -create_clients true |
|
|
Allows/Prohibits managing limits policy. Is |
To allow managing limits policy to the reseller with the login name JDoe: reseller.exe -u JDoe -allow_oversell true |
|
|
Allows or prohibits access to website copying. |
To allow the reseller with the login name JDoe access to website copying. reseller.exe -u JDoe -manage_website_maintenance true |
|
|
Allows or prohibits access to the WordPress toolkit. |
To allow the reseller with the login name JDoe access to the WordPress toolkit: reseller.exe -u JDoe -manage_wordpress_toolkit true |
|
|
Allows or prohibits access to the WordPress toolkit security feature. |
To allow the reseller with the login name JDoe access to the WordPress toolkit security feature: reseller.exe -u JDoe -manage_security_wordpress_toolkit true |
|
|
Allows or prohibits managing password-protected directories. |
To allow the reseller with the login name JDoe to manage password-protected directories: reseller.exe -u JDoe -manage_protected_dirs true |
|
|
Allows or prohibits managing auxiliary user accounts. |
To allow the reseller with the login name JDoe to manage auxiliary user accounts: reseller.exe -u JDoe -access_service_users true |
|
|
Specifies limits policy:
Is |
To set limits policy for the reseller with the login name JDoe to strict: reseller.exe -u JDoe -oversell false |
|
|
Limits the number of available customer accounts. Unlimited if set to |
To set the number of available customer accounts for the reseller with the login name JDoe to 5: reseller.exe -u JDoe -max_cl 5 |
|
|
Specifies the number of websites that can be created and published with Presence Builder. |
To set the number of websites that can be created and published with Presence Builder for reseller with the username JDoe to 5: reseller.exe -u JDoe -max_site_builder 5 |
|
|
Specifies the number of mobile site versions that can be created with the external UNITY Mobile service. |
To set the number of mobile websites that can be created under subscriptions of reseller JDoe to 5: reseller.exe -u JDoe -max_unity_mobile_sites 5 |
|
|
Sets the default interface language for client's control panel interface. The argument of the command must be a valid four-letter language code derived from the language code described in ISO-639-2 and the corresponding country code described in ISO-3166. For example, the Plesk code for the Italian language code is |
To set the default interface language for the reseller with the login name JDoe to Russian: reseller.exe -u JDoe -locale ru-RU |
|
|
Sets the overuse policy:
|
To set the overuse policy for the reseller with the login name JDoe to notify: reseller.exe -u JDoe -overuse notify |