Request CLI access through web UI authentication
To run NetBackup commands using the NetBackup CLI, the following requirements exist for the user:
The user must have the RBAC role Default NetBackup Command Line (CLI) Administrator or a role with similar permissions.
The user must submit a request for temporary access to the CLI. By default, a CLI access session is valid for 24 hours.
The command that the user runs for the request depends on whether or not they have access to the NetBackup web UI.
See Request CLI access when you have access to the NetBackup web UI.
If you have access to the NetBackup web UI, you can use the web UI to approve a CLI access request using the access code from the bpnbat command.
To request CLI access
- Run the following command:
bpnbat -login -logintype webui
An access code is generated.
- Open the NetBackup web UI.
- On the top right, select the profile icon.
- Select Approve access request.
- Enter the CLI access code that was created when you ran the bpnbat command. Then select Review.
- Review the access request details.
- Select Approve.
- After you approve the request, you can use the command-line interface to run the wanted commands.
If you do not have access to the NetBackup web UI, you must submit a request for a CLI access to the security administrator. A user with the Default Security Administrator role or a role with similar permissions must approve the request.
To request CLI access from the security administrator
- Run the following command:
bpnbat -login -logintype webui -requestApproval
An access code is generated.
- Contact the security administrator and give them the access code to approve the CLI access request.
- After the request is approved, you can use the command-line interface to run the wanted commands.