To create a reseller account, use the AddReseller
script. If you want to create reseller accounts that have a common set of services, you can use an existing reseller account as a template for the new reseller.
For the list of services, with corresponding options and values, that you can enable for the reseller account, see the Service Plans and service options table. On successful creation of the account, the message, Reseller
<reseller name> successfully created
, is displayed.
Syntax
/usr/local/bin/AddReseller [ -r
<source reseller>] [ -c
<service>,
<option>=<value>,... ...]
where:
Creating a reseller account without using a template
AddReseller -c apache,jail=0 -c bandwidth,threshold=10485760000 -c users,maxusers=100 -c ssh,jail=0 -c diskquota,quota=524288000 -c reseller,username=Myname,fullname=Myname,enabled=1,
passwd,email=myname@example.com -c telnet,jail=0 -c ipinfo,namebased=10,ipbased=10
In this example, the script adds a reseller account with the following account information:
Creating a reseller account using a template
AddReseller -r reseller1 -c reseller,username=reseller2
In this example, the script creates a new reseller account, with the user name reseller2
, using another reseller account, reseller1
, as the template on which to base the account information.