Promote a user to administrator (Local only)
If your IBM® Planning Analytics Workspace administrator is no longer available, you can promote a non-admin user to the administrator role by using the command line. If you're upgrading to Planning Analytics Workspace 2.0.92 or a higher version, you can also use the command line to assign Environments admin privileges to a user.
wa-proxy
in the following commands
with the containerID
. You can find the containerID
by using the
docker ps
command. - Run the following command to see a list of users in this environment and their most recent
logon. While this command returns some of the same information as the command in Step 2, it includes
most recent logon, which might be useful in identifying the user that you want to promote to
administrator.
- On
Windows:
docker exec -it wa-proxy powershell -command "C:\wa-proxy\tools\runTool.ps1" findLoggedInAtleastOnceUsers
- On Red Hat Enterprise Linux®
7:
docker exec -it wa-proxy bash -C /wa-proxy/tools/runTool.sh findLoggedInAtleastOnceUsers
- On Red Hat Enterprise Linux® 8 and
9:
sudo podman exec -it wa-proxy bash -C /wa-proxy/tools/runTool.sh findLoggedInAtleastOnceUsers
- On
Windows:
- Run the following command to see a list of users in this environment, including
their login ID, display name, user ID, and role.
- On
Windows:
docker exec -it wa-proxy powershell -command "C:\wa-proxy\tools\runTool.ps1" changeUserRoleToAdmin
- On Red Hat Enterprise Linux®
7:
docker exec -it wa-proxy bash -C /wa-proxy/tools/runTool.sh changeUserRoleToAdmin
- On Red Hat Enterprise Linux® 8 and
9:
sudo podman exec -it wa-proxy bash -C /wa-proxy/tools/runTool.sh changeUserRoleToAdmin
- On
Windows:
- Identify the user ID for the user that you want to promote to the administrator role and
run the following command with the appropriate
userID
:- On
Windows:
docker exec -it wa-proxy powershell -command "C:\wa-proxy\tools\runTool.ps1" changeUserRoleToAdmin <userId>
- On Red Hat Enterprise Linux®
7:
docker exec -it wa-proxy bash -C /wa-proxy/tools/runTool.sh changeUserRoleToAdmin <userId>
- On Red Hat Enterprise Linux® 8 and
9:
sudo podman exec -it wa-proxy bash -C /wa-proxy/tools/runTool.sh changeUserRoleToAdmin <userId>
- On
Windows:
Assigning Environments privileges to a user (Local only)
If you are upgrading to Planning Analytics Workspace 2.0.92 and want to create and manage multiple environments in Planning Analytics Administration Local, you must assign Environments admin privileges to at least one user with the administrator role.
- On
Windows:
docker exec -it wa-proxy powershell -command "C:\wa-proxy\tools\runTool.ps1" changeUserRoleToAdmin <userId>
- On Red Hat Enterprise Linux®
7:
docker exec -it wa-proxy bash -C /wa-proxy/tools/runTool.sh changeUserRoleToAdmin <userId>
- On Red Hat Enterprise Linux® 8 and
9:
sudo podman exec -it wa-proxy bash -C /wa-proxy/tools/runTool.sh changeUserRoleToAdmin <userId>
- On
Windows:
docker exec -it wa-proxy powershell -command "C:\wa-proxy\tools\runTool.ps1" changeUserRoleToAdmin <userId>
- On Red Hat Enterprise Linux®
7:
docker exec -it wa-proxy bash -C /wa-proxy/tools/runTool.sh changeUserRoleToAdmin <userId>
- On Red Hat Enterprise Linux® 8 and
9:
sudo podman exec -it wa-proxy bash -C /wa-proxy/tools/runTool.sh changeUserRoleToAdmin <userId>
If you want to remove a user from Environments admin privileges, run the command to see a list of users in the environment
and set their environments_admin_privileges
property to false
.