modify-reseller.pl

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.pl program.

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.

Command Line Help

usage: modify-reseller.pl --name login
                          [--pass password]
                          [--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] ...
                          [--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]*
 
virtualmin_api_modify_reseller.txt (298 views) · Last modified: 2008/12/08 13:12
 
Recent changes RSS feed

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.