
Chapter 1 Overview 7
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 bobsmith
# /usr/bin/passwd bobsmith
Each user account that you add in this way has read-only viewing privileges for File
System Manager functions. To add additional privileges see the following section,
“Assigning Privilege Levels” on page 7.
Assigning Privilege Levels
You can assign users full or partial access to File System Manager functions. The
following table lists the five levels of privileges you can assign to File System
Manager users.
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
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
TABLE 1-2 File System Manager Permission Levels
Administrative Privilege Level Description
com.sun.netstorage.fsmgr.config User has unlimited access.
com.sun.netstorage.fsmgr.operator.media User can add or remove libraries; add or
remove stand-alone drives; reserve volume
serial names (VSNs); import VSNs; load and
unload VSNs; export VSNs; and so on.
com.sun.netstorage.fsmgr.operator.sam.control User can start, stop, or idle archiving
operations.
com.sun.netstorage.fsmgr.operator.file User can start or stop staging, and can restore a
file system.
com.sun.netstorage.fsmgr.operator.filesystem User can mount or unmount a file system, edit
mount options, and perform file system checks
(fsck).
Komentarze do niniejszej Instrukcji