Create one reseller account

This command adds a single reseller account to your Virtualmin system. The required parameters are --name and --pass to specify the login name and password respectively, but you can also use other parameters to set limits on the reseller to control the number of servers and other resources he can use.

The following command would create a reseller called bob who is allowed to create up to 5 servers and allocate 1 GB in disk quota space. He will also be granted access to a standard set of virtual server features :

virtualmin create-reseller --name bob --pass smeg --desc "Bob Smith" --max-doms 5 --max-quota 1000000 --allow dir --allow unix --allow webmin --allow web --allow dns --allow mysql

The --max-doms parameter sets the maximum number of servers that can be created by this reseller, and by the owners of any virtual servers that he manages. Similarly, the --max-dbs option sets a limit on the number of MySQL and PostgreSQL databases that can be created in servers that the reseller owns.

The --max-quota option sets the maximum disk quota that the reseller can allocate to virtual servers that he creates. The option --max-mailboxes sets a limit on the number of mail/FTP/database users that can be created in servers managed by the reseller.

The --allow option can be given multiple times, each instance of which must be followed by the short code for a feature to allow the reseller to use. Only allowed features can be selected when the reseller is creating a new virtual server.

If a plan already exists with the limits you want to apply to the new reseller, you can use the --plan flag followed by a plan name. All domain, mailbox, alias and database limits will be copied, along with quotas, the bandwidth limit and allowed features.

If you want the new reseller to use a custom IP address for his virtual servers, this can be specified with the --ip-address option followed by an IP active on your system. Similarly, you can specify custom nameservers for the DNS domains he creates with the --nameserver flag. This can appear multiple times, and each instance must be followed by a valid nameserver hostname.

The new reseller can be granted permissions to schedule and run backups with the --can-schedule-backups flag, or to just run backups with --can-backups. Similarly, he can be allowed to create plans with --can-plans, or denied with --cannot-plans.

Command Line Help

virtualmin create-reseller --name login
                           --pass password |
                           --passfile password-file
                          [--desc description]
                          [--email address]
                          [--max-doms number]
                          [--max-aliasdoms number]
                          [--max-realdoms number]
                          [--max-quota number]
                          [--max-mailboxes number]
                          [--max-aliases number]
                          [--max-dbs number]
                          [--max-bw number]
                          [--allow feature]*
                          [--plan name|id]
                          [--subdom forced.parent]
                          [--logo url|"none"]
                          [--link url]
                          [--ip-address address]
                          [--nameserver hostname]*
                          [--can-plans | --cannot-plans]
                          [--can-schedule-backups | --can-backups |