| Oracle® Secure Backup Reference Release 10.1 Part Number B14236-03 |
|
|
View PDF |
Purpose
Use the lsclass command to list the names and attributes of one or more user classes.
See Also:
"Class Commands" for related commands
Appendix B, "Classes and Rights" for a descriptions of the default Oracle Secure Backup classes and rights
Prerequisites
You must have the display administrative domain's configuration right to use the lsclass command.
Syntax
lsclass::=
lscl•ass [ { --long/-l [ --abbreviate/-a ] } | --short/-s ]
[ --modself/-m { yes | no } ] [ --modconfig/-M { yes | no } ]
[ --backupself/-k { yes | no } ] [ --backuppriv/-K { yes | no } ]
[ --restself/-r { yes | no } ] [ --restpriv/-R { yes | no } ]
[ --listownjobs/-j { yes | no } ] [ --modownjobs/-J { yes | no } ]
[ --listanyjob/-y { yes | no } ] [ --modanyjob/-Y { yes | no } ]
[ --mailinput/-i { yes | no } ] [ --mailerrors/-e { yes | no } ]
[ --querydevs/-q { yes | no } ] [ --managedevs/-d { yes | no } ]
[ --listconfig/-L { yes | no } ] [ --browse/-b browserights ]
[ --orauser/-o { yes | no } ] [ --orarights/-O oraclerights ]
[ classname ]...
Semantics
Refer to "mkclass" for details on options not included in this section. For the lsclass command, these options select which classes are to be listed based on whether a class has (yes) or lacks (no) the specified rights.
Displays data in long form. The command displays all classes and privileges.
Displays a short description when used with the --long option.
Displays data in short form (default). The command displays only the class names.
Output
Table 2-6 describes the output of the lsclass command.
Table 2-6 lsclass Output
| Label | Indicates |
|---|---|
|
browse |
browse backup catalogs with this access right; values are |
|
oracle |
access Oracle backups right; values are |
|
listconfig |
display administrative domain's configuration right; values are |
|
modself |
modify own name and password right; values are |
|
modconfig |
modify administrative domain's configuration right; values are |
|
backupself |
perform backups as self right; values are |
|
backuppriv |
perform backups as privileged user right; values are |
|
listownjobs |
list any jobs owned by user right; values are |
|
modownjobs |
modify any jobs owned by user right; values are |
|
restself |
perform restores as self right; values are |
|
restpriv |
perform restores as privileged user right; values are |
|
mailinput |
receive email requesting operator assistance right; values are |
|
mailerrors |
receive email describing internal errors right; values are |
|
querydevs |
query and display information about devices right; values are |
|
managedevs |
manage devices and change device state right; values are |
|
listanyjob |
list any job, regardless of its owner right; values are |
|
modanyjob |
modify any job, regardless of its owner right; values are |
|
oracleuser |
perform Oracle backups and restores right; values are |
Example
Example 2-51 lists the attributes of the reader class.
Example 2-51 Displaying Information About a Class
ob> lsclass --long --abbreviate reader
reader:
browse: named
oracle: none
listconfig: no
modself: yes
modconfig: no
backupself: no
backuppriv: no
listownjobs: no
modownjobs: no
restself: no
restpriv: no
mailinput: no
mailerrors: no
querydevs: no
managedevs: no
listanyjob: no
modanyjob: no
oracleuser: no