cancel
Showing results for 
Search instead for 
Did you mean: 

run netbackup command without using root

Iwan_Tamimi
Level 6

Hi All,

I am migrating the script from my old netbackup (7.7.1) to new netbackup (8) run under RHEL. The older master server setup by our IS but new one is setup by me.

I just want to know why on the older master server I can run vmquery only using normal user (and not using sudo) but not on the newer server.

old server:

  # /usr/openv/volmgr/bin/vmquery  -pn Scratch

==============================================================================
media ID:              400001
media type:            1/2" cartridge tape (6)
barcode:               400001
media description:     ---
volume pool:           Scratch (5)
robot type:            TLD - Tape Library DLT (8)
robot number:          1
robot slot:            1
robot control host:    ebs3-bck
volume group:          000_00001_TLD
vault name:            ---
vault sent date:       ---
vault return date:     ---
vault slot:            ---

...................

Newer server:

#  /usr/openv/volmgr/bin/vmquery  -pn Scratch
user id was not superuser (3)
nbubck@/home/ebsopr>

Once again i don't use sudo for this command as you can see is a full patch. Is there any configuration file i need to setup?

 

Thank you,

 

Regards,

Iwan

 

 

2 REPLIES 2

manatee
Level 6

don't know if this is a NetBackup thing but in unix, you can do that.

Nicolai
Moderator
Moderator
Partner    VIP   

Root can always run Netbackup command, but not ordinary users unless Enhanced Auditing has been enabled.

if nbubck need to run Netbackup command, configure enhanced auditing and add nbubck to non-root admins:

Configure Enhanced Auditing:

https://www.veritas.com/content/support/en_US/doc/21733320-127424841-0/v106286614-127424841

Add non-root user:

https://www.veritas.com/content/support/en_US/doc/21733320-127424841-0/v102669499-127424841

Then run bpnbat -Login as nbubck