modify-admin.pl
Updates an extra administrator for a virtual server
This program can be used to change the details of an extra administrator. The required parameters are --domain followed by the domain name, and --name followed by the administrator account name, which specify the account to change.
You can then use the --pass parameter to set a new password, --desc to change the description, and --newname to change the login name. The admin can be allowed to denied the ability to create servers, rename domains, manage features and use other Webmin modules with the --can-create, --cannot-create, --can-rename, --cannot-rename, --can-features, --cannot-features, --can-modules and --cannot-modules options respectively.
The extra admin's contact email address can be set or changed with the --email flag (followed by an address), or removed with the --no-email parameter.
Editing capabilities can be granted to the user with the --can-edit option followed by a capability name. Similarly, they can be taken away with the --cannot-edit option.
Command Line Help
usage: modify-admin.pl --domain domain.name
--name login
[--newname login]
[--pass password]
[--desc description]
[--email user@domain | --no-email]
[--can-create] | [--cannot-create]
[--can-rename] | [--cannot-rename]
[--can-features] | [--cannot-features]
[--can-modules] | [--cannot-modules]
[--can-edit capability]*
[--cannot-edit capability]*