How to Add Users and Assign Privileges

  1. Outside of the browser interface, log in to the management station host as root.
  2. Use the useradd and passwd commands to add each user.

    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.

  3. (Optional) To specify full or partial configuration privileges for a user, add the following line to the /etc/user_attr file:
    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