This section explains the usage and syntax of scripts you can use to manage reseller accounts.
You can use command line scripts for:
Refer to the following table for the complete list of services, options, and values that you can specify for a reseller account.
Note: You must specify values for services or options that you want to enable; no default values are set other than those explicitly specified in the table. Further, you cannot leave an option blank.
The following table lists the services, options, and values that you can specify for a reseller account.
Service |
Option |
Value |
Description |
---|---|---|---|
apache |
jail |
1 (enabled) or 0 (disabled) |
If set to 1, a reseller can only create "jailed" sites (sites that restrict the Apache daemon to the chrooted portion of the site's file system). If set to 0, a reseller can create "jailed" or "non-jailed" sites. |
ssh |
jail |
1 (enabled) or 0 (disabled) |
If set to 1, a reseller can only create sites where the SSH remote access service is "jailed" (remote shell access to the site using SSH is restricted to the chrooted portion of the site's file system). If set to 0, a reseller can create sites with "jailed" or "non-jailed" SSH access. |
telnet |
jail |
1 (enabled) or 0 (disabled) |
If set to 1, a reseller can only create sites where the Telnet remote access service is "jailed" (remote shell access to the site using Telnet is restricted to the chrooted portion of the site's file system). If set to 0, a reseller can create sites with "jailed" or "non-jailed" Telnet access. |
bandwidth |
units |
B or b (Bytes) KB or kb (Kilobytes) MB or mb (Megabytes) GB or gb (Gigabytes) |
The unit for measuring the rate of data transmission. The default is B. |
|
threshold |
number |
The total bandwidth (in the selected units) that can be assigned to sites created by a reseller. |
diskquota
|
units |
B or b (Bytes) KB or kb (Kilobytes) MB or mb (Megabytes) GB or gb (Gigabytes) |
The unit for measuring the disk space allocated to a reseller. The default is B. |
|
quota |
number |
The total disk space (in the selected units), that can be assigned to sites created by a reseller. |
ipinfo |
ipbased |
number |
The maximum number of IP-based sites that can be created by a reseller. |
|
namebased |
number |
The maximum number of name-based sites that can be created by a reseller. |
reseller |
username |
plain text |
The user name of the reseller |
|
fullname |
plain text |
The full name of the reseller |
|
plain text (for example, admin@example.com) |
The email address of the reseller |
|
|
passwd |
plain text |
The reseller's password. The reseller will be prompted for the plain text password. |
|
tpasswd |
plain text |
The reseller's password. Specify the password by typing the following at the command line prompt:
|
|
cpasswd |
encrypted text |
The reseller's password. Specify the password by typing the following at the command line prompt:
|
|
enabled |
1 (enabled) or 0 (disabled) |
Indicates whether the reseller account is enabled or disabled. |
users |
maxusers |
number |
The total number of user accounts for sites created by a reseller. |