create-admin.pl

Creates an extra administrator for a virtual server

This command creates a new administrator associated with an existing virtual server. You must supply the --domain parameter to specify the server and --name to set the admin login name. The --pass and --desc options should also be given, to specify the initial password and a description for the account respectively. To specify a contact email address for the admin, use the --email flag followed by the address.

Basic permissions for the account can be added using the --create, --rename, --features and --modules parameters. These allow the admin to create new servers, rename servers, use Webmin modules for server features, and use other Webmin modules, respectively.

The extra admin's editing capabilities for virtual servers can be set using the --edit parameter, followed by a capability name (like users or aliases). This can be given multiple times, as in the command below :

  create-admin.pl --domain foo.com --name fooadmin --pass smeg --desc "Extra administrator" --edit users --edit aliases

That command would create an extra administrator account who can only edit mail users and mail aliases in the virtual server foo.com and any sub-servers.

Command Line Help

usage: create-admin.pl --domain domain.name
                       --name login
                       [--pass password]
                       [--desc description]
                       [--email user@domain]
                       [--create] [--rename] [--features] [--modules]
                       [--edit capability]*
 
virtualmin_api_create_admin.txt (351 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.