06-09-2015 04:13 AM
Hi Experts,
I need to add 20 users in admin group.I dont want to use the GUi console.is there any way i could create those users through any command for all those 20 users via script.
Regards
Automation 2015
Solved! Go to Solution.
06-09-2015 08:22 AM
There is no Netbackup command to add/remove users form auth.conf - that would be easy to use for automating.
If you append 1 or 20 lines to to auth.conf is pretty forward and the same proecdure.
According to the NBU admin guide (Authorization file (auth.conf) characteristics) page 1112, you can only specify individual in auth.conf and not OS groups.
There is only one auth.conf fiel in Netbackup - /use/openv/java/auth.conf
06-09-2015 04:20 AM
Are you talking about the auth.conf here or NBAC?
06-09-2015 04:47 AM
auth.conf
06-09-2015 05:13 AM
its a text file, so if you just append to it you should be OK
e.g.
echo "NMA ADMIN=JBP JBP=ENDUSER+BU+ARC" >> /usr/openv/java/auth.conf
06-09-2015 07:41 AM
So i have to append for each user.I need to add 20 users in one go is it possible via scripting.That i could fire a command from my linux master server.And it could add those guys in admin group of netbackup.And it updates auth.conf file for each user?
06-09-2015 08:22 AM
There is no Netbackup command to add/remove users form auth.conf - that would be easy to use for automating.
If you append 1 or 20 lines to to auth.conf is pretty forward and the same proecdure.
According to the NBU admin guide (Authorization file (auth.conf) characteristics) page 1112, you can only specify individual in auth.conf and not OS groups.
There is only one auth.conf fiel in Netbackup - /use/openv/java/auth.conf