Managing Users Locally
If no identity provider is available to obtain user information from, an administrator with access to the controller’s console can create users locally on the controller node. Created users appear in the PowerPanel web interface after creation and can be assigned virtual environments.
Note the following:
- You cannot create LDAP users with
vzapi user create. - If you switch to LDAP, existing local users will not be available in Virtuozzo PowerPanel anymore. They will, however, remain in the local identity database.
- Since the performance of specific actions in PowerPanel, such as password change in a virtual machine, etc., requires guest tools, install the guest tools in your virtual machines to ensure the smooth functioning of most PowerPanel operations.
Creating Users Locally
To create a local user, run the command vzapi user create <username> on the controller node. You will also be asked to create the user’s password. For example:
| |
vzapi <cmd> with vzapi --os-cloud local-credential <cmd>. For more details, see Managing Multi-Factor Authentication.To make sure that the user has been created, you can run the command openstack --os-cloud local user list. For example:
| |
Changing Passwords of Local Users
To change the password of a user created locally, run the command openstack --os-cloud=local user set <username> --password <new_passwd>. For example:
| |
Deleting Local Users
To delete a user created locally, run the command vzapi user delete <username>.
vzapi <cmd> with vzapi --os-cloud local-credential <cmd>. For more details, see Managing Multi-Factor Authentication.For example:
| |