Posted 2012-03-29 01:49 by Joe
create-owner.pl
Create a new Cloudmin system owner
A system owner in Cloudmin is an additional Webmin login who can manage some aspects of selected systems.
To create a new owner,
run this command with the --name parameter followed by a login name,
--email followed by a contact address,
and --pass followed by a password.
Since you will generally want the new owner account to be able to manage at least one system,
the --host flag should be given followed by a hostname.
This can be given multiple times to allow management of several hosts,
which can be real or virtual systems.
If your Cloudmin system supports plans,
you must supply the --plan parameter followed by a plan ID or name.
The list of available plans can be displayed using the list-plans command.
To specify which actions the owner is allowed to perform on those hosts, use the following flags :
--can-startup - Startup systems --can-shutdown - Shut down systems --can-reboot - Reboot systems --can-console - View and interact with console --can-graph - View bandwidth usage graph --can-view - View system details --can-run - Run commands on systems --can-domains - Manage Virtualmin domains --can-update - Update packages --can-script - Update installed scripts --can-pause - Pause virtual systems --can-reset - Reset to original image
If no action flags are given, those defined in the plan will be allowed instead.
Example usage
cloudmin create-owner --name bob --email bob@example.com --pass smeg --host xencentos.home --can-reboot --can-console --can-startup --can-shutdown Created Cloudmin system owner bob
Command Line Help
Creates a new Cloudmin system owner.
cloudmin create-owner --name username
--email address@domain
--pass password
--plan name
[--lock]
[--real "Real name"]
[--host hostname]*
[--can-startup]
[--can-shutdown]
[--can-reboot]
[--can-boot]
[--can-console]
[--can-graph]
[--can-view]
[--can-run]
[--can-pass]
[--can-domains]
[--can-update]
[--can-script]
[--can-pause]
[--can-reset]
[--can-create]
[--can-add]
[--can-delete]
[--can-advanced]
[--can-ips]
[--can-ifaces]
[--can-realifaces]
[--can-reverse]
[--can-limits]
[--can-disks]
[--can-devices]
[--can-sshkeys]
[--can-backup]
[--can-webmin]
[--can-virtualmin]
[--can-api]
[--can-storage]
[--can-mount]
[--provision-from-plan true|false]
[--provision-max-mysql number|none]
[--provision-max-mysqldb number|none]
[--provision-max-dns number|none]
[--provision-max-virus number|none]
[--provision-max-spam number|none]
