Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. NetBackup™ Web UI Administrator's Guide
  3. Section IX. Managing security
  4. Using access keys, API keys, and access codes
  5. Access codes
  6. Request CLI access through web UI authentication
NetBackup™ Web UI Administrator's Guide

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.

    See Request CLI access from the security administrator.

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

  1. Run the following command:

    bpnbat -login -logintype webui

    An access code is generated.

  2. Open the NetBackup web UI.
  3. On the top right, select the profile icon.
  4. Select Approve access request.
  5. Enter the CLI access code that was created when you ran the bpnbat command. Then select Review.
  6. Review the access request details.
  7. Select Approve.
  8. After you approve the request, you can use the command-line interface to run the wanted commands.
Request CLI access from the security administrator

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

  1. Run the following command:

    bpnbat -login -logintype webui -requestApproval

    An access code is generated.

  2. Contact the security administrator and give them the access code to approve the CLI access request.

    See Approve the CLI access request of another user.

  3. After the request is approved, you can use the command-line interface to run the wanted commands.

Feedback

Was this page helpful?
Previous

Access codes

Next

Approve the CLI access request of another user

Feedback

Was this page helpful?