Knowledgebase
The modify_accounts Script Print this Article
Overview:
You can use the /usr/local/cpanel/usr/local/cpanel/scripts/modify_accounts
script to set existing cPanel accounts to use a new theme.
Run the script
To use this script, run the following command as the root
user:
/usr/local/cpanel/scripts/modify_accounts --theme=theme_name [options]
Note:
In this example, theme_name
represents the name of the theme to which you wish to set for the package.
Options
The /usr/local/cpanel/scripts/modify_accounts
script accepts the following arguments:
Options | Description | Example |
---|---|---|
--theme |
Required The theme name that you wish to assign to the account. Specify the paper_lantern theme or the name of another valid theme that exists on the server. |
|
--users |
A comma-separated list of the cPanel accounts that you wish to modify. |
|
--all-users |
Update all of the cPanel accounts that exist on the server. |
|
--all-users-from-reseller |
Update all of the cPanel accounts that a specific reseller owns. Note:
This argument only accepts one reseller value.
|
|
--style |
The style that you wish to use for the specified theme.
|
|
Was this answer helpful?
Related Articles
WHM Scripts
Overview: The cPanel & WHM installation process adds important scripts to your server’s...
Overview: The cPanel & WHM installation process adds important scripts to your server’s...
The dbmaptool Script
Overview: You can use the /usr/local/cpanel/bin/dbmaptool script to grant ownership of databases...
Overview: You can use the /usr/local/cpanel/bin/dbmaptool script to grant ownership of databases...
The servers_queue Script
Overview: This script allows you to manage the task queue system. The task queue system allows...
Overview: This script allows you to manage the task queue system. The task queue system allows...
The auto-adjust-mysql-limits Script
Overview: The /usr/local/cpanel/scripts/auto-adjust-mysql-limits script updates MySQL®...
Overview: The /usr/local/cpanel/scripts/auto-adjust-mysql-limits script updates MySQL®...
The autossl_check Script
Overview: The /usr/local/cpanel/bin/autossl_check script allows you to manually check the SSL...
Overview: The /usr/local/cpanel/bin/autossl_check script allows you to manually check the SSL...