Running MSDP commands with the non-root user
When an MSDP command is run by the root user, it automatically switches to the service user. However, if a non-root user needs to run MSDP commands, they can use the msdpcmdrun wrapper command. This tool is supported on NetBackup BYO, media servers on Flex Appliance, NetBackup CloudScale, and NetBackup Appliances.
If nbcmdrun is configured and enabled, you can use msdpcmdrun as follows:
/usr/openv/netbackup/bin/nbcmdrun msdpcmdrun <msdp commands>
For more information about nbcmdrun, see Running NetBackup commands using the nbcmdrun wrapper command topic of the NetBackup Security and Encryption Guide.
Note:
The nbcmdrun command does not support passing environment variables or user inputs to MSDP commands.
Alternatively, you can run msdpcmdrun directly without nbcmdrun as follows:
/usr/openv/pdde/pdcr/bin/msdpcmdrun <msdp_commands>