modify-reseller

Modify attributes for an existing reseller

This command can be used to change the details of a single reseller. Its only mandatory parameter is --name, which must be followed by the reseller's login name. The other parameters such as --pass, --desc and the --max options are the same as those for the create-reseller command.

The --allow parameter can be given multiple times to grant access to additional features to the reseller. Similarly, the --disallow feature can be used to take away access to features. Each instance of --disallow must be followed by the short code for the feature to remove, such as web or dns.

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. To remove any custom IP, use the --no-ip-address flag.

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. To force use of the system default nameservers instead, use the --no-nameserver flag.

If a plan already exists with the limits you want to apply to the 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.

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

Command Line Help

virtualmin modify-reseller --name login
                          [--pass password | --passfile password-file]
                          [--lock | --unlock]
                          [--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]*
                          [--disallow feature]*
                          [--plan name|id]
                          [--read-only] | [--read-write]
                          [--subdom forced.parent | --no-subdom]
                          [--logo url|"none" | --no-logo]
                          [--link url | --no-link]
                          [--ip-address address | --no-ip-address]
                          [--nameserver hostname | --no-nameserver]*
                          [--can-plans | --cannot-plans]
                          [--can-schedule-backups | --can-backups |
                           --cannot-backups]