client_pref: Client Limits, Permissions, and Interface Settings
The client_pref
CL utility enables the administrator to set and edit the client's limits and permissions, and to define Plesk interface preferences (e.g. the default language and skin).
Usage
client_pref <command> [<login_name>] [
<option_1> [<param>]
[<option_2> [<param>]]
[<option_N> [<param>]]
Example
The following command updates the client account with the login name JDoe as follows: the client is allowed to manage log rotation and mailing lists and to create up to 20 subdomains. The use of disk space allotted for the client is restricted to 20 GB, and the expiration date of the client account is set to 2008-12-31.
plesk bin client_pref --update JDoe -manage_log true -manage_maillists true -max_subdom 20 -disk_space 20G -expiration 2008-12-31
Commands
Command | Parameter | Description | Example |
---|---|---|---|
|
|
Updates preferences and limits for an existing client account. |
To disable changing domain limits for the client account with the login name JDoe: plesk bin client_pref --update JDoe -change_limits false or plesk bin client_pref -u JDoe -change_limits false |
|
|
Displays the list of available control panel interface skins. |
To view the list of available interface skins: plesk bin client_pref --skin-list or plesk bin client_pref -sl |
|
|
Displays information about client account preferences and limits. |
To view information about preferences and limits set on the client account with login name JDoe: plesk bin client_pref --info JDoe or plesk bin client_pref -i JDoe |
|
|
Displays help on the use of the utility. |
To view help on the use of the plesk bin client_pref --help or plesk bin client_pref -h |
Options
Option | Parameter | Description | Example |
---|---|---|---|
|
|
Sets the overuse policy for the customer account. |
To set the overuse policy to "block" for the customer account JDoe:
plesk bin client_pref -u JDoe -overuse block |
|
|
Allows/Prohibits creation domains. Is |
To allow the client with the login name JDoe to create domains: plesk bin client_pref -u JDoe -create_domains true |
|
|
Allows/Prohibits managing physical hosting. Is |
To allow the client with the login name JDoe to manage physical hosting: plesk bin client_pref -u JDoe -manage_phosting true |
|
|
Allows/Prohibits managing PHP safe mode. Is |
To allow the client with login name JDoe to manage PHP safe mode: plesk bin client_pref -u JDoe -manage_php_safe_mode true |
|
|
Allows/Prohibits changing domain limits. Is |
To allow the client with the login name JDoe to change domain limits: plesk bin client_pref -u JDoe -change_limits true |
|
|
Allows/Prohibits managing DNS. Is |
To allow the client with the login name JDoe to manage DNS: plesk bin client_pref -u JDoe -manage_dns true |
|
|
Allows/Prohibits managing log rotation. Is |
To allow the client with the login name JDoe to manage log rotation: plesk bin client_pref -u JDoe -manage_log true |
|
|
Allows/Prohibits managing the mail settings. |
To allow the client with the login name JDoe to manage the mail settings: plesk bin client_pref -u JDoe -manage_mail_settings true |
|
|
Allows/Prohibits managing task scheduler. Is |
To allow the client with the login name JDoe to manage task scheduler: plesk bin client_pref -u JDoe -manage_crontab true |
|
|
Allows/Prohibits managing anonymous FTP. Is |
To allow the client with the login name JDoe to manage anonymous FTP: plesk bin client_pref -u JDoe -manage_anonftp true |
|
|
Allows/Prohibits managing Java applications. Is |
To allow the client with the login name JDoe to manage Java applications: plesk bin client_pref -u JDoe -manage_webapps true |
|
|
Allows/Prohibits managing mailing lists. Is |
To allow the client with the login name JDoe to manage mailing lists: plesk bin client_pref -u JDoe -manage_maillists true |
|
|
Allows/Prohibits managing system access. Is |
To allow the client with the login name JDoe to manage system access: plesk bin client_pref -u JDoe -manage_sh_access true |
|
|
Allows/Prohibits managing the bandwidth limit. |
To allow the client with the login name JDoe to manage the bandwidth limit: plesk bin client_pref -u JDoe -manage_performance_bandwidth true |
|
|
Allows/Prohibits managing the number of connections limit. |
To allow the client with the login name JDoe to manage the number of connections limit: plesk bin client_pref -u JDoe -manage_performance_connections true |
|
|
Allows/Prohibits managing the custom error documents. |
To allow the client with the login name JDoe to manage the custom error documents: plesk bin client_pref -u JDoe -manage_phosting_errdocs true |
|
|
Allows/Prohibits managing the SSL certificates. |
To allow the client with the login name JDoe to manage the SSL certificates: plesk bin client_pref -u JDoe -manage_phosting_ssl true |
|
|
Allows/Prohibits access to the Application Catalog. |
To allow the client with the login name JDoe to access the Application Catalog: plesk bin client_pref -u JDoe -access_appcatalog true |
|
|
Allows/Prohibits managing the auxiliary user accounts. |
To allow the client with the login name JDoe to manage the auxiliary user accounts: plesk bin client_pref -u JDoe -access_service_users true |
|
|
Allows/Prohibits overselling. |
To allow the client with the login name JDoe to oversell: plesk bin client_pref -u JDoe -allow_oversell true |
|
|
Allows/Prohibits managing non-chrooted environment. Is |
To allow the client with the login name JDoe to manage non-chrooted environment: plesk bin client_pref -u JDoe -manage_not_chroot_shell true |
|
|
Allows/Prohibits managing subdomains. Is |
To allow the client with the login name JDoe to manage subdomains: plesk bin client_pref -u JDoe -manage_subdomains true |
|
|
Allows/Prohibits managing hard disk quota. Is |
To allow the client with login name JDoe to manage hard disk quota: plesk bin client_pref -u JDoe -manage_quota true |
|
|
Allows/Prohibits backing up and restoring data using the Plesk's storage. Is |
To allow the client with the login name JDoe to backup and restore data using the Plesk's storage: plesk bin client_pref -u JDoe -allow_local_backups true |
|
|
Allows/Prohibits backing up and restoring data using the FTP storage. Is |
To allow the client with the login name JDoe to backup and restore data using the FTP storage: plesk bin client_pref -u JDoe -allow_ftp_backups true |
|
|
Allows/Prohibits backing up and restoring the account data using the Plesk's storage. |
To allow the client with the login name JDoe to backup and restore the account data using the Plesk's storage: plesk bin client_pref -u JDoe -allow_account_local_backups true |
|
|
Allows/Prohibits backing up and restoring the account data using the FTP storage. |
To allow the client with the login name JDoe to backup and restore the account data using the FTP storage: plesk bin client_pref -u JDoe -allow_account_ftp_backups true |
|
|
Allows/Prohibits configuring potentially insecure web scripting options that override the provider's policy. |
To allow the client with the login name JDoe to configure potentially insecure web scripting options: plesk bin client_pref -u JDoe -allow_insecure_sites true |
|
|
Allows/Prohibits activating APS apps using license keys from the Plesk license pool. |
To allow the client with the login name JDoe to activate APS apps using license keys from the Plesk license pool: plesk bin client_pref -u JDoe -allow_license_stubs true |
|
|
Allows/Prohibits managing antivirus tool used on client's domains. Is |
To allow the client with the login name JDoe to manage antivirus tool: plesk bin client_pref -u JDoe -manage_virusfilter true |
|
|
Allows/Prohibits using Plesk API. Is |
To allow the client with the login name JDoe to use Plesk API: plesk bin client_pref -u JDoe -remote_access_interface true |
|
|
Allows/Prohibits access to the WordPress Toolkit Security Management feature. |
To allow the client with the login name JDoe to access the WordPress Toolkit Security Management feature: plesk bin client_pref -u JDoe |
|
|
Allows/Prohibits managing domain aliases. Is |
To allow the client with the login name JDoe to manage domain aliases: plesk bin client_pref -u JDoe -manage_domain_aliases true |
|
|
Allows/Prohibits managing spam filter. Is |
To allow the client with the login name JDoe to manage spam filter: plesk bin client_pref -u JDoe -manage_spamfilter true |
|
|
Allows/Prohibits managing additional FTP accounts. Is |
To allow the client with the login name JohnDoe to manage additional FTP accounts: plesk bin client_pref --update JohnDoe -manage_subftp true |
|
|
Allows/Prohibits managing web statistics. Is
|
To allow the client with the login name JDoe to manage web statistics: plesk bin client_pref -u JDoe -manage_webstat true |
|
|
Allows/Prohibits access to the Website Copying feature. |
To allow the client with the login name JDoe to access the Website Copying feature: plesk bin client_pref -u JDoe -manage_website_maintenance true |
|
|
Allows/Prohibits access to the Wordpress Toolkit. |
To allow the client with the login name JDoe to access the WordPress Toolkit: plesk bin client_pref -u JDoe -manage_wordpress_toolkit true |
|
|
Limits the number of available domains. Unlimited if set to |
To restrict maximum number of domains available to the client with the login name JDoe to 10: plesk bin client_pref -u JDoe -max_dom 10 |
|
|
Limits the number of available domain aliases. Unlimited if set to |
To restrict the maximum number of domain aliases available to the client with the login name JDoe to 5: plesk bin client_pref -u JDoe -max_dom_aliases 5 |
|
|
Limits the amount of available disk space. A number without a letter is interpreted as the number of bytes. Unlimited if set to |
To restrict the maximum amount of disk space available to the client with the login name JDoe to 100 GB: plesk bin client_pref -u JDoe -disk_space 100G |
|
|
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 client with the login name JDoe to 70 GB: plesk bin client_pref -u JDoe -disk_space_soft 70G |
|
|
Limits the monthly traffic usage. A number without a letter is interpreted as the number of bytes. Unlimited if set to |
To restrict the maximum amount of traffic available to the client with the login name JDoe to 10 GB/month: plesk bin client_pref -u JDoe -max_traffic 10G |
|
|
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 70 GB/month: plesk bin client_pref -u JDoe -max_traffic_soft 70G |
|
|
Limits the number of available mailboxes. Unlimited if set to |
To restrict the maximum number of mailboxes available to the client with the login name JDoe to 100: plesk bin client_pref -u JDoe -max_box 100 |
|
|
Limits the amount of disk space that a single mailbox can occupy. A number without a letter is interpreted as the number of bytes. Unlimited if set to |
To set the mailbox quota for the client with login name JDoe to 10 MB: plesk bin client_pref -u JDoe -mbox_quota 10M |
|
|
Limits the number of available web users. Unlimited if set to |
To restrict the maximum number of web users available to the client with the login name JDoe to 50: plesk bin client_pref -u JDoe -max_wu 50 |
|
|
Limits the number of available mailing lists. Unlimited if set to |
To restrict the maximum number of mailing lists available to the client with the login name JDoe to 30: plesk bin client_pref -u JDoe -max_maillists 30 |
|
|
Limits the number of available databases. Unlimited if set to |
To restrict the maximum number of databases available to the client with the login name JDoe to 20: plesk bin client_pref -u JDoe -max_db 2 |
|
|
Limits the number of available additional FTP accounts. Unlimited if set to |
To restrict the maximum number of additional FTP accounts available to the client with the login name JohnDoe to 100: plesk bin client_pref -u JohnDoe -max_subftp_users 100 |
|
|
Limits the number of available Java applications. Unlimited if set to |
To restrict the maximum number of Java applications available to the client with the login name JDoe to 50: plesk bin client_pref -u JDoe -max_webapps 50 |
|
|
Limits the number of available subdomains. Unlimited if set to |
To restrict the maximum number of subdomains available to the client with the login name JDoe to 40: plesk bin client_pref -u JDoe -max_subdom 40 |
|
|
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 client with the login name JDoe to Russian: plesk bin client_pref -u JDoe -locale ru-RU |
|
|
Sets the default interface skin for a client's control panel interface. |
To set the skin WinXP Olivegreen as the default interface skin for the client with the login name JDoe: plesk bin client_pref -u JDoe -skin "WinXP Olivegreen" |
|
|
Allows/Prohibits having several simultaneous sessions under client's login. Is |
To prohibit multiple sessions to run simultaneously under login of the client with the login name JDoe: plesk bin client_pref -u JDoe -multiple-sessions false |
|
|
Allows/Prohibits managing the SSI settings. |
To allow the customer named JDoe to manage the SSI settings:
plesk bin client_pref -u JDoe -manage_phosting_ssi |
|
|
Allows/Prohibits managing the PHP settings. |
To allow the customer named JDoe to manage the PHP settings:
plesk bin client_pref -u JDoe -manage_phosting_php |
|
|
Allows/Prohibits managing the CGI settings. |
To allow the customer named JDoe to manage the CGI settings:
plesk bin client_pref -u JDoe -manage_phosting_cgi |
|
|
Allows/Prohibits managing the Perl settings. |
To allow the customer named JDoe to manage the Perl settings:
plesk bin client_pref -u JDoe -manage_phosting_perl |
|
|
Allows/Prohibits managing the Python settings. |
To allow the customer named JDoe to manage the Python settings:
plesk bin client_pref -u JDoe -manage_phosting_python |
|
|
Allows/Prohibits managing the ASP settings. |
To allow the customer named JDoe to manage the ASP settings:
plesk bin client_pref -u JDoe -manage_phosting_asp |
|
|
Allows/Prohibits managing the FastCGI settings. |
To allow the customer named JDoe to manage the FastCGI settings:
plesk bin client_pref -u JDoe -manage_phosting_fastcgi |
|
|
Limits button label length for the client's control panel interface. |
To restrict the maximum button label length for the control panel interface of the client with the login name JDoe to 10: plesk bin client_pref -u JDoe -max-button-length 10 |
|
|
Allows/Prohibits choosing a DB server from the servers registered in Plesk, when creating a database. Is |
To allow the client with the login name JDoe to choose DB server on which a database is to be created: plesk bin client_pref -u JDoe -select_db_server true |
|
|
Allows/Prohibits managing remote access for database users. |
To allow the client with the login name JDoe to manage remote access for database users: plesk bin client_pref -u JDoe |
|
|
Allows/Prohibits to manage hosting performance. Is |
To prevent client with login name JDoe from managing hosting performance: plesk bin client_pref -u JDoe -manage_performance false |
|
|
Allows/Prohibits to manage PHP settings. Is |
To allow the client with the login name JDoe to customize PHP settings for his websites: plesk bin client_pref -u JDoe -manage_php_settings true |
|
|
Allows/Prohibits to choose the PHP version. |
To allow the client with the login name JDoe to choose the PHP version: plesk bin client_pref -u JDoe -manage_php_version true |
|
|
Allows/Prohibits to manage the password-protected directories. |
To allow the client with the login name JDoe to manage the password-protected directories: plesk bin client_pref -u JDoe -manage_ |
|
|
Allows/Prohibits to manage Presence Builder. |
To allow the client with the login name JDoe to use Presence Builder: plesk bin client_pref -u JDoe -site_builder true |