For example, to add a user with account name bobsmith, type the following:
# /usr/sbin/useradd/useradd bobsmith # /usr/bin/passwd bobsmith
Each user account that you add in this way has read-only viewing privileges for SAM-QFS Manager functions.
account-name::::auths=privilege-level
Where account-name is the name of the user’s account and privilege-level is the level of authorization that you want to assign to the user.
For example, to assign full privileges (privilege level com.sun.netstorage.fsmgr.config) for user account bobsmith, add the following line to the /etc/user_attr file:
bobsmith::::auths=com.sun.netstorage.fsmgr.config
To assign bobsmith privileges only for staging and restoring file systems (privilege level com.sun.netstorage.fsmgr.operator.file) and exporting, importing, and assigning volumes (privilege level com.sun.netstorage.operator.media), add the following line to the /etc/user_attr file:
bobsmith::::auths=com.sun.netstorage.fsmgr.operator.file, com.sun.netstorage.fsmgr.operator.media