A simple and straight-forward command, nsraddadmin answers that problem of needing to quickly add a user account as a NetWorker administration without having to fire up either NMC or nsradmin.
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
- user=name,host=name
For example, on the NetWorker server as a current administrator, if you wanted to add “preston” on the machine “faero” as an administrator, you’d simply run:
# nsraddadmin -u "user=preston,host=faero"
or, using the old format:
# nsraddadmin -u preston@faero