PowerVC UI login
During PowerVC
installation, the root user is assigned the administrator role on the ibm-default
project. The root user can log in to PowerVC
and start performing operations such as assigning roles other users or groups.
However, there might be cases where a non-root user must be able to log in to PowerVC login, such as when a root user is disabled on the system, or the installation was done by a sudo user.
Perform these steps to assign administrator role to a new operating systems user.
- Create an operating systems user and
password.
useradd <new_user> passwd <new_user>
- Add the new user to the
powervc-filter
group (or the custom group, if a custom group is used) so that the user is visible to PowerVC.usermod -G powervc-filter <new_user>
- To assign the administrator role to the new user, run the following
command.
powervc-config identity repository -t os --user <new_user>
The role assignment is scoped to the
ibm-default
project and replaces all existing role assignments within a specific domain in PowerVC.
The new user can now log in to the PowerVC user interface.
Follow steps 1 and 2 to create more OS users who are visible in PowerVC. To assign roles to newly created users in the PowerVC user interface, go to Users and Groups under Global Settings, select the user and then assign the specific role.
For information about configuring PowerVC to manage users or groups from an LDAP server, see Configuring LDAP.