用途
lsclass
コマンドは、1つ以上のユーザー・クラスの名前と属性をリストする場合に使用します。
関連項目:
|
前提条件
lsclass
コマンドを使用するには、管理ドメインの構成の表示(display administrative domain's configuration)権を備えている必要があります。
構文
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 ]...
意味
ここに記載されていないオプションについては、「mkclass」を参照してください。lsclass
コマンドの場合、これらのオプションでは、指定された権限がクラスにある(yes
)かない(no
)かに基づいて、どのクラスをリストするかが選択されます。
データを長い形式で表示します。このコマンドではすべてのクラスと権限が表示されます。
--long
オプションとともに使用して、短い説明を表示します。
短い形式でデータが表示されます(デフォルト)。このコマンドではクラス名のみが表示されます。
出力
表2-6で、lsclass
コマンドの出力について説明します。
表2-6 lsclassの出力
例
例2-51では、reader
クラスの属性をリストしています。
例2-51 クラスに関する情報の表示
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