Using nsraddadmin to add a user to NetWorker server admin list
nsraddadmin program is used to add a user entry to a NetWorker server's administrator attribute. The program updates the server on the same host where the command runs. The addition of a user entry gives that user full administrator privileges on the NetWorker server.
The command only takes a single argument sequence:
# nsraddadmin -u entry
Where ‘entry' is a valid NetWorker user entry, i.e., one of:
- user@host, or
For example, on the NetWorker server as a current administrator, if you wanted to add “alex” on the machine “rosie” as an administrator, you'd simply run:
# nsraddadmin -u "user=alex,host=rosie"
or, using the old format:
# nsraddadmin -u alex@rosie
- get resdb handle failed, err: error info Cause: An error occurred while connecting to the NetWorker server. Action: Check to ensure the server is running, and retry the command.
- query resdb failed, err: error info Cause: An error occurred while querying the NetWorker server. Action: Check to ensure the server is running, and retry the command.
- RAP error: Permission denied, user 'user' on 'hostname' does not have 'Change security settings' privilege Cause: The user running this program is not listed in the administrator's list for the server. Action: You need to be a valid administrator to run nsraddadmin.
- user 'user-entry' is already on the administrator list Cause: The user entry that was given on the command is already contained on the server's administrator list. Action: NONE - The user entry already exists in the administrators list.
- added user 'user-entry' to the administrator list Action: NONE - The user entry has been added to the server's administrator list.