Veritas NetBackup™ Appliance Security Guide

Last Published:
Product(s): Appliances (5.1.1)
Platform: NetBackup Appliance OS
  1. About the NetBackup appliance Security Guide
    1.  
      About the NetBackup appliance Security Guide
  2. User authentication
    1. About user authentication on the NetBackup appliance
      1.  
        User types that can authenticate on the NetBackup appliance
    2. About configuring user authentication
      1.  
        Generic user authentication guidelines
    3.  
      About authenticating LDAP users
    4.  
      About authenticating Active Directory users
    5. About authentication using smart cards and digital certificates
      1.  
        2FA
      2.  
        Smart card Authentication for NetBackup Web UI
      3.  
        Smart card authentication for NetBackup Appliance Web UI
      4.  
        Smart card authentication for NetBackup Appliance Shell Menu
      5.  
        Configure role-based access control
      6.  
        Configure authentication for a smart card or digital certificate for the NetBackup Web UI
    6. About single sign-on (SSO) authentication and authorization
      1.  
        Configure single sign-on (SSO) for a NetBackup Appliance
    7.  
      About the appliance login banner
    8. About user name and password specifications
      1.  
        About STIG-compliant password policy rules
  3. User authorization
    1.  
      About user authorization on the NetBackup appliance
    2. About authorizing NetBackup appliance users
      1.  
        NetBackup appliance user role privileges
    3.  
      About the Administrator user role
    4.  
      About the NetBackupCLI user role
    5.  
      About user authorization in NetBackup
  4. Intrusion prevention and intrusion detection systems
    1.  
      About Symantec Data Center Security on the NetBackup appliance
    2.  
      About the NetBackup appliance intrusion prevention system
    3.  
      About the NetBackup appliance intrusion detection system
    4.  
      Reviewing SDCS events on the NetBackup appliance
    5.  
      Running SDCS in unmanaged mode on the NetBackup appliance
    6.  
      Running SDCS in managed mode on the NetBackup appliance
  5. Log files
    1.  
      About NetBackup appliance log files
    2.  
      Viewing log files using the Support command
    3.  
      Where to find NetBackup appliance log files using the Browse command
    4.  
      Gathering device logs on a NetBackup appliance
    5.  
      Log Forwarding feature overview
  6. Operating system security
    1.  
      About NetBackup appliance operating system security
    2.  
      Major components of the NetBackup appliance OS
    3.  
      Disable user access to the NetBackup appliance operating system
    4.  
      Manage support access to the maintenance shell
  7. Data security
    1.  
      About data security
    2.  
      About data integrity
    3.  
      About data classification
    4. About data encryption
      1.  
        KMS support
  8. Web security
    1.  
      About SSL usage
    2.  
      About implementing external certificates
  9. Network security
    1.  
      About Network Access Control
    2.  
      About IPsec Channel Configuration
    3.  
      About NetBackup appliance ports
    4.  
      About the NetBackup Appliance firewall
  10. Call Home security
    1. About AutoSupport
      1.  
        Data security standards
    2. About Call Home
      1.  
        Configuring Call Home from the NetBackup Appliance Shell Menu
      2.  
        Enabling and disabling Call Home from the appliance shell menu
      3.  
        Configuring a Call Home proxy server from the NetBackup Appliance Shell Menu
      4.  
        Understanding the Call Home workflow
    3. About SNMP
      1.  
        About the Management Information Base (MIB)
  11. Remote Management Module (RMM) security
    1.  
      Introduction to IPMI configuration
    2.  
      Recommended IPMI settings
    3.  
      RMM ports
    4.  
      Enabling SSH on the Remote Management Module
    5.  
      Replacing the default IPMI SSL certificate
    6.  
      Implementing an external IPMI SSL certificate
  12. STIG and FIPS conformance
    1.  
      OS STIG hardening for NetBackup appliance
    2.  
      FIPS 140-2 conformance for NetBackup appliance
    3.  
      About FIPS compliant ciphers
  13.  
    Index

About the NetBackupCLI user role

A NetBackupCLI user can execute all NetBackup commands, view logs, edit NetBackup touch files, and edit NetBackup notify scripts. NetBackupCLI users are solely restricted to run NetBackup commands with superuser privileges and do not have access outside the scope of NetBackup software directories. Once these users log on, they are taken to a restricted shell from where they can run the NetBackup commands. The NetBackupCLI users share a home directory and do not have access to the NetBackup Appliance Web Console or the NetBackup Appliance Shell Menu.

Starting with appliance release 5.0, NetBackupCLI users can only run some commands as a superuser and are required to follow the NetBackup CLI authorization mechanism to authenticate and run such commands. Refer to the NetBackup Commands Reference Guide for more information on the exact permissions that are required by various NetBackup commands and command parameters.

The NetBackupCLI role can be assigned to a maximum of nine user groups at any given time. To create a local NetBackupCLI user, use the Manage > NetBackupCLI > Create command from theNetBackup Appliance Shell Menu. For more information, see the NetBackup Appliance Commands Reference Guide.

Note:

You cannot grant the NetBackupCLI role to an existing local user.

Table: Privileges and restrictions of the appliance NetBackupCLI user lists the rights and restrictions of NetBackupCLI users.

Table: Privileges and restrictions of the appliance NetBackupCLI user

Privileges

Restrictions

The NetBackupCLI user can use the NetBackup Appliance Shell Menu to do the following:

  • Run the NetBackup CLI and access the NetBackup directories and files.

  • Modify or create NetBackup notify scripts using the cp-nbu-notify command.

  • Run the following NetBackup commands and for the following directories that contain the NetBackup CLI:

    • /opt/VRTSpbx/bin/*

    • /opt/VRTS/bin/*

    • /usr/openv/db/bin/*

    • /usr/openv/mqbroker/bin/goodies/*

    • /usr/openv/mqbroker/bin/install/*

    • /usr/openv/netbackup/bin/*

    • /usr/openv/netbackup/bin/admincmd/*

    • /usr/openv/netbackup/bin/goodies/*

    • /usr/openv/netbackup/bin/goodies/support/*

    • /usr/openv/netbackup/bin/support/*

    • /usr/openv/pdde/pdcr/bin/*

    • /usr/openv/pdde/vpfs/bin/*

    • /usr/openv/volmgr/bin/*

    • /usr/openv/volmgr/bin/goodies/*

    • /usr/openv/pdde/pdcr/bin/crcontrol

    • /usr/openv/pdde/pdag/bin/mtstrmd

    • /usr/openv/pdde/pdag/bin/pdcfg

    • /usr/openv/pdde/pdag/bin/pdusercfg

    • /usr/openv/pdde/pdconfigure/pdde

The following restrictions are placed on NetBackupCLI users:

  • NetBackupCLI users do not have access outside of the NetBackup software directories.

  • They cannot edit the bp.conf file directly using an editor. Use the bpsetconfig command to set an attribute.

  • The cp-nbu-config command supports creating and editing NetBackup touch configuration files only in the /usr/openv/netbackup/db/config directory.

  • They cannot use the man or -h command to see the help of any other command.

  • They cannot execute any command with an absolute path. All commands must be executed only with a short name.

  • They cannot run most of the system commands, except a few read-only system commands, such as cat, date, whoami, ls, which, grep, sort, cut, jq and vi commands that work in read-only mode.

How to run NetBackup commands as a NetBackupCLI user

Log in as a NetBackupCLI user and type Command at the command prompt to enter into a restrictive shell environment. You can then run the NetBackup commands from that shell. Using absolute paths to run NetBackup commands is not allowed. For example, you can run bplist but you cannot run /usr/openv/netbackup/bin/admincmd/bplist from the command shell.

You may need additional authorization before you can run some of the NetBackup commands. You will see a different authorization prompt depending on the NetBackup command you are trying to run.

The following list describes the typical scenarios for successfully executing NetBackup commands:

  • Authorization prompt: web login is required

    Some NetBackup commands may require a web login. You will see the following prompt:

    A web login is required. Run the 'bpnbat -login -loginType WEB|WEBUI|APIKEY' command to login. EXIT STATUS 5930: The request could not be authorized.

    To authenticate such requests, you must log in to the NetBackup Web Management Service as a NetBackup administrator and run the following command:

    myappliance.NBCLIUSER> bpnbat -login -logintype WEB

    The following shows an example WEB login:

    Authentication Broker: ApplianceHostname
    Authentication Port: 0
    Authentication Type: unixpwd
    LoginName: Username
    Password: Password
    Operation completed successfully.
  • Authorization prompt: web ui login required

    Some NetBackup commands may require an approval using an access token. To authenticate such requests, generate an access code by running the following command:

    # bpnbat -login -logintype webui -requestApproval

    Make a note of the access code that is displayed in the command window.

    Sign in to the NetBackup web UI as a NetBackup Command Line (CLI) Admin user and approve the CLI access request by entering the access code that you generated earlier. For more information about access key and approval requests, refer to the NetBackup Security and Encryption Guide.

  • Authorization prompt: superuser privileges required

    Some NetBackup commands may require superuser privileges. You will see the following prompt:

    EXIT STATUS 140: user id was not superuser

    To authenticate such requests, use sudo to elevate the privileges and run the NetBackup commands using the absolute path. For example:

    # sudo /usr/openv/netbackup/bin/nbkmscmd -discoverNbkms

    If the authentication messages persist even after you have used the absolute path and sudo, you can use the WEB login method described earlier and run the following command for authenticating the request:

    # sudo /usr/openv/netbackup/bin/bpnbat -login -loginType WEB

General considerations:

  • The authentication cases described earlier are typical scenarios. Some NetBackup commands may require other authentication methods. Refer to the NetBackup Commands Reference Guide for more information on the exact permissions that are required by various NetBackup commands and command parameters.

  • Some NetBackup commands are run as root by default. You can verify whether a particular command requires root privileges by running the following command:

    nbucliuser-!> alias | grep NetBackup command

    For example, nbkms command runs as root by default:

    nbucliuser-!> alias | grep nbkms

    alias nbkms='sudo -n /usr/openv/netbackup/bin/nbkms'

  • Some NetBackup commands are run by the current NetBackupCLI user by default. But there are some NetBackup command parameters that require root privileges. In such cases, you can use 'sudo <absolute path of command> <parameters>' to run the command.

    If you see a prompt "sudo: a password is required", it means that the command cannot be run as root. Contact Veritas Technical Support for help with such scenarios.

How to run special directive operations

Special directive operations can fail if the special directive files and commands are not in the correct NetBackup list or path. One example of a special directive operation is when you specify an alternate restore path.

Appliance users that need to run NetBackup commands to access special directive files as a NetBackupCLI user, must do the following to ensure successful operation:

  • Add the /home/nbusers path to the NetBackup bpcd allowed list.

  • Add the special directive commands to the /home/nbusers directory.

For details about adding entries to the NetBackup bpcd allowed list, refer to the BPCD_WHITELIST_PATH configuration option in the following documents:

NetBackup Administrator's Guide, Volume 1

NetBackup Commands Reference Guide