lsclass

Purpose

Use the lsclass command to list the names and attributes of one or more user classes.

See Also:

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.

--long/-l

Displays data in long form. The command displays all classes and privileges.

--abbreviate/-a

Displays a short description when used with the --long option.

--short/-s

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 privileged, notdenied, permitted, named, none

oracle

access Oracle backups right; values are owner, class, all, or none

listconfig

display administrative domain's configuration right; values are yes or no

modself

modify own name and password right; values are yes or no

modconfig

modify administrative domain's configuration right; values are yes or no

backupself

perform backups as self right; values are yes or no

backuppriv

perform backups as privileged user right; values are yes or no

listownjobs

list any jobs owned by user right; values are yes or no

modownjobs

modify any jobs owned by user right; values are yes or no

restself

perform restores as self right; values are yes or no

restpriv

perform restores as privileged user right; values are yes or no

mailinput

receive email requesting operator assistance right; values are yes or no

mailerrors

receive email describing internal errors right; values are yes or no

querydevs

query and display information about devices right; values are yes or no

managedevs

manage devices and change device state right; values are yes or no

listanyjob

list any job, regardless of its owner right; values are yes or no

modanyjob

modify any job, regardless of its owner right; values are yes or no

oracleuser

perform Oracle backups and restores right; values are yes or no


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