cancel
Showing results for 
Search instead for 
Did you mean: 

Adding new user to Netbackup

JimmyB2
Level 4

Hi all,

could you please advice me how to add new user to Netbackup 9.1? I need this new user for monitoring purposes.

The master server is running on linux OS. I have found in documentation following commands, but I am not sure, that it is right.

https://www.veritas.com/support/en_US/article.100048220

To create the local user account, enter the following: # useradd -c 'NetBackup Services account' -d /usr/openv/ <user name>

On the other, here in the forum I have found out, that the user is taken from the OS level and it is just enough to put the user to /usr/openv/java/auth.conf ?

Any help will be much appreciated!

1 ACCEPTED SOLUTION

Accepted Solutions

L_BR
Level 5

I see in your post you are referring to the nbwebsvc, this is created during initial installation of the master. It should already be there otherwise you'd be having issues with the NBU Web Management console service.

The way I did it was

Create local user.

Add them to the relevant role in RBAC via webui using admin account or create a custom role.

Generated a token for them.

View solution in original post

11 REPLIES 11

DPeaco
Moderator
Moderator
   VIP   

@JimmyB2 

Yes, you are on the right track. If you are logged in to the linux host as root, you can add that nbwebsvc user account. Also remember to add the nbwebgrp "group" as well.

This user account does not need to be added to the auth.conf file. This specific user account is not one that will be used to log into the Java GUI or web interface as that user. It is used by NetBackup for specific NetBackup services/daemons.

Thanks,
Dennis

Azhar4
Level 4

what kind of monitoring are you looking to configure via this user?

you can always use Opscenter to send alerts for multiple scanarios.

JimmyB2
Level 4

Indeed, I need to utilize existing python scripts and API calls to be able to transfer information from Netbackup in to the our monitoring tool. Then, in fact, do I need to have any extra netbackup user or is it just enough to create API key to be able to login in order to collect data?

Azhar4
Level 4

you should be creating new user for API calls and create authorization key for it.

you can ask you Linux admin to create a user for you with admin priviliges on openv folder

 

JimmyB2
Level 4

Hi @Azhar4  thank you very much for your input. Of course, I know how to create new user on linux OS - just type useradd and the task is done. Unfortunately, I dont know, what to do to make linux user to be Netbackup user as well. As said previously, I need to create Netbackup user to utilize API calls.

Azhar4
Level 4

Hello Jimmy,

As long as your user have admin(sudo) access on /usr/openv dir at minimum, you should be able to make API call with its token. if you can add your user to local admin grp then it would work too.

JimmyB2
Level 4

Hi Azhar!

then, I would say, the procedure could be firstly to create the linux user, secondly add the user to sudoers file and finally to create API key via web gui. Is it right?

yes . try it out and let us know here.

L_BR
Level 5

I see in your post you are referring to the nbwebsvc, this is created during initial installation of the master. It should already be there otherwise you'd be having issues with the NBU Web Management console service.

The way I did it was

Create local user.

Add them to the relevant role in RBAC via webui using admin account or create a custom role.

Generated a token for them.

JimmyB2
Level 4

Hi all! The solution was surprisingly easier than I thought. As written by @L_BR , it was needed to bind the local user with the RBAC role. Unfortunately, firstly I was adding suffing @Unix to username as suggested from Netbackup help, but no user was found. Therefore, there will be no suffix needed and it was just fine to type the name of the local (unix) user. This one has been found by Netbackup and added to the relevant role.

syedrahman75
Level 1

Hi All,

 

I had created user in Solaris, while opening NetBackup gui this user has limited access. I found useful path /usr/openv/java/auth.conf  added that user and its worked fine for me.

Many thanks.