307 lines
9.6 KiB
HTML
307 lines
9.6 KiB
HTML
|
|
||
|
<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
|
<html>
|
||
|
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||
|
<title>Display Authority (DSPAUT)</title>
|
||
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
||
|
</head>
|
||
|
<body bgcolor="white">
|
||
|
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<a name="DSPAUT.Top_Of_Page"></a>
|
||
|
<h2>Display Authority (DSPAUT)</h2>
|
||
|
<table width="100%">
|
||
|
<tr>
|
||
|
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
|
||
|
<b>Threadsafe: </b>No
|
||
|
</td>
|
||
|
<td valign="top" align="right">
|
||
|
<a href="#DSPAUT.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#DSPAUT.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#DSPAUT.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="DSPAUT"></a>
|
||
|
<p>The Display Authority (DSPAUT) command shows the list of authorized users of an object and their authorities for the object. If the object is secured by an authorization list, the name of the authorization list is also shown.
|
||
|
</p>
|
||
|
<p>The following are shown for the specified object:
|
||
|
</p>
|
||
|
<ul>
|
||
|
<li>The object path name.
|
||
|
</li>
|
||
|
<li>The name of the object's owner.
|
||
|
</li>
|
||
|
<li>The name of the object's primary group.
|
||
|
</li>
|
||
|
<li>The name of the authorization list securing the object.
|
||
|
</li>
|
||
|
<li>A list of all the users who are authorized to use the object.
|
||
|
</li>
|
||
|
<li>The authorities that each user has for the object.
|
||
|
</li>
|
||
|
</ul>
|
||
|
<p>If an object does not have an owner name associated with it, no authorities for the object are shown.
|
||
|
</p>
|
||
|
<p>See Appendix D of the iSeries Security Reference, SC41-5302 for the authorities needed to use this command.
|
||
|
</p>
|
||
|
<p>For more information about integrated file system commands, see the Integrated file system information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DSPAUT.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="DSPAUT.PARAMETERS.TABLE">Parameters</a></h3>
|
||
|
<table border="1" cellpadding="4" cellspacing="0">
|
||
|
<!-- col1="10" col2="15" col3="30" col4="10" -->
|
||
|
<tr>
|
||
|
<th bgcolor="aqua" valign="bottom" align="left">Keyword</th>
|
||
|
<th bgcolor="aqua" valign="bottom" align="left">Description</th>
|
||
|
<th bgcolor="aqua" valign="bottom" align="left">Choices</th>
|
||
|
<th bgcolor="aqua" valign="bottom" align="left">Notes</th>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#DSPAUT.OBJ"><b>OBJ</b></a></td>
|
||
|
<td valign="top">Object</td>
|
||
|
<td valign="top"><i>Path name</i></td>
|
||
|
<td valign="top">Required, Positional 1</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#DSPAUT.SYMLNK"><b>SYMLNK</b></a></td>
|
||
|
<td valign="top">Symbolic link</td>
|
||
|
<td valign="top"><b><u>*NO</u></b>, *YES</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#DSPAUT.OUTPUT"><b>OUTPUT</b></a></td>
|
||
|
<td valign="top">Output</td>
|
||
|
<td valign="top"><b><u>*</u></b>, *PRINT</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DSPAUT.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="DSPAUT.OBJ"></a>
|
||
|
<h3>Object (OBJ)</h3>
|
||
|
<p>Specifies the objects for which the authorized users and their authorities are displayed.
|
||
|
</p>
|
||
|
<p>For more information on specifying path names, refer to "Object naming rules" in the CL concepts and reference topic in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><i>path-name</i></b></dt>
|
||
|
<dd>Specify the path name of the objects for which specific authorities are to be shown.
|
||
|
<p>The object path name can be either a simple name or a name that is qualified with the name of the directory in which the object is located. A pattern can be specified in the last part of the path name. An asterisk (*) matches any number of characters and a question mark (?) matches a single character. If the path name is qualified or contains a pattern, it must be enclosed in apostrophes.
|
||
|
</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DSPAUT.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="DSPAUT.SYMLNK"></a>
|
||
|
<h3>Symbolic link (SYMLNK)</h3>
|
||
|
<p>If the last component in the path name is a symbolic link, specifies whether or not to display the symbolic link or the object pointed to by the symbolic link.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NO</u></b></dt>
|
||
|
<dd>The symbolic link object is not displayed. The object pointed to by the symbolic link is displayed.
|
||
|
</dd>
|
||
|
<dt><b>*YES</b></dt>
|
||
|
<dd>If the object is a symbolic link, the symbolic link is displayed. The object pointed to by the symbolic link is not displayed.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DSPAUT.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="DSPAUT.OUTPUT"></a>
|
||
|
<h3>Output (OUTPUT)</h3>
|
||
|
<p>Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*</u></b></dt>
|
||
|
<dd>The output is displayed (if requested by an interactive job) or printed with the job's spooled output (if requested by a batch job).
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl>
|
||
|
<dt><b>*PRINT</b></dt>
|
||
|
<dd>The output is printed with the job's spooled output.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DSPAUT.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="DSPAUT.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p><b>Example 1: Displaying Users and Authorities</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
DSPAUT OBJ('/QSYS.LIB/ARLIB.LIB/PROG1.PGM')
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command shows the authorized users and their authorities for the object named PROG1 to the user who entered the command, if that user has object management authority for the object. PROG1 is a program located in the library named ARLIB. The system assumes * for the device that shows the output list. If the command was entered in the batch subsystem, the output is placed in the default output queue for the job. If the command was entered in the interactive subsystem, the output is shown on the device where the user entered the command.
|
||
|
</p>
|
||
|
<p><b>Example 2: Printing List of Users</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
DSPAUT OBJ('/MYDIR/MYOBJECT') OUTPUT(*PRINT)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command causes the list of authorized users of MYOBJECT in the MYDIR directory to be printed.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DSPAUT.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="DSPAUT.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p><b><u>*ESCAPE Messages</u></b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>CPDA080</b></dt>
|
||
|
<dd>User profile name too long.
|
||
|
</dd>
|
||
|
<dt><b>CPE3101</b></dt>
|
||
|
<dd>A non-recoverable I/O error occurred.
|
||
|
</dd>
|
||
|
<dt><b>CPE3408</b></dt>
|
||
|
<dd>The address used for an argument was not correct.
|
||
|
</dd>
|
||
|
<dt><b>CPE3418</b></dt>
|
||
|
<dd>Possible APAR condition or hardware failure.
|
||
|
</dd>
|
||
|
<dt><b>CPE3474</b></dt>
|
||
|
<dd>Unknown system state.
|
||
|
</dd>
|
||
|
<dt><b>CPFA0AA</b></dt>
|
||
|
<dd>Error occurred while attempting to obtain space.
|
||
|
</dd>
|
||
|
<dt><b>CPFA0AB</b></dt>
|
||
|
<dd>Operation failed for object. Object is &1.
|
||
|
</dd>
|
||
|
<dt><b>CPFA0AD</b></dt>
|
||
|
<dd>Function not supported by file system.
|
||
|
</dd>
|
||
|
<dt><b>CPFA0A1</b></dt>
|
||
|
<dd>An input or output error occurred.
|
||
|
</dd>
|
||
|
<dt><b>CPFA0A2</b></dt>
|
||
|
<dd>Information passed to this operation was not valid.
|
||
|
</dd>
|
||
|
<dt><b>CPFA0A3</b></dt>
|
||
|
<dd>Path name resolution causes looping.
|
||
|
</dd>
|
||
|
<dt><b>CPFA0A4</b></dt>
|
||
|
<dd>Too many open files for process.
|
||
|
</dd>
|
||
|
<dt><b>CPFA0A5</b></dt>
|
||
|
<dd>Too many open files.
|
||
|
</dd>
|
||
|
<dt><b>CPFA0A7</b></dt>
|
||
|
<dd>Path name too long.
|
||
|
</dd>
|
||
|
<dt><b>CPFA0A9</b></dt>
|
||
|
<dd>Object not found. Object is &1.
|
||
|
</dd>
|
||
|
<dt><b>CPFA0B1</b></dt>
|
||
|
<dd>Requested operation not allowed. Access problem.
|
||
|
</dd>
|
||
|
<dt><b>CPFA0C0</b></dt>
|
||
|
<dd>Buffer overflow occurred.
|
||
|
</dd>
|
||
|
<dt><b>CPFA0C1</b></dt>
|
||
|
<dd>CCSID &1 not valid.
|
||
|
</dd>
|
||
|
<dt><b>CPFA08B</b></dt>
|
||
|
<dd>Path name cannot begin with *.
|
||
|
</dd>
|
||
|
<dt><b>CPFA08C</b></dt>
|
||
|
<dd>Pattern not allowed in path name directory.
|
||
|
</dd>
|
||
|
<dt><b>CPFA08E</b></dt>
|
||
|
<dd>More than one name matches pattern.
|
||
|
</dd>
|
||
|
<dt><b>CPFA085</b></dt>
|
||
|
<dd>Home directory not found for user &1.
|
||
|
</dd>
|
||
|
<dt><b>CPFA086</b></dt>
|
||
|
<dd>Matching quote not found in path name.
|
||
|
</dd>
|
||
|
<dt><b>CPFA087</b></dt>
|
||
|
<dd>Path name contains null character.
|
||
|
</dd>
|
||
|
<dt><b>CPFA088</b></dt>
|
||
|
<dd>Path name pattern not valid.
|
||
|
</dd>
|
||
|
<dt><b>CPFA09C</b></dt>
|
||
|
<dd>Not authorized to object. Object is &1.
|
||
|
</dd>
|
||
|
<dt><b>CPFA09D</b></dt>
|
||
|
<dd>Error occurred in program &1.
|
||
|
</dd>
|
||
|
<dt><b>CPFA09E</b></dt>
|
||
|
<dd>Object in use. Object is &1.
|
||
|
</dd>
|
||
|
<dt><b>CPFA09F</b></dt>
|
||
|
<dd>Object damaged. Object is &1.
|
||
|
</dd>
|
||
|
<dt><b>CPFA091</b></dt>
|
||
|
<dd>Pattern not allowed in user name.
|
||
|
</dd>
|
||
|
<dt><b>CPFA092</b></dt>
|
||
|
<dd>Path name not converted.
|
||
|
</dd>
|
||
|
<dt><b>CPFA093</b></dt>
|
||
|
<dd>Name matching pattern not found.
|
||
|
</dd>
|
||
|
<dt><b>CPFA094</b></dt>
|
||
|
<dd>Path name not specified.
|
||
|
</dd>
|
||
|
<dt><b>CPF1F05</b></dt>
|
||
|
<dd>Directory handle not valid.
|
||
|
</dd>
|
||
|
<dt><b>CPF1F41</b></dt>
|
||
|
<dd>Severe error occurred while addressing parameter list.
|
||
|
</dd>
|
||
|
<dt><b>CPF1F4A</b></dt>
|
||
|
<dd>Value for number of directory entries not valid.
|
||
|
</dd>
|
||
|
<dt><b>CPF1F53</b></dt>
|
||
|
<dd>Value for length of data buffer not valid.
|
||
|
</dd>
|
||
|
<dt><b>CPF2203</b></dt>
|
||
|
<dd>User profile &1 not correct.
|
||
|
</dd>
|
||
|
<dt><b>CPF22F0</b></dt>
|
||
|
<dd>Unexpected errors occurred during processing.
|
||
|
</dd>
|
||
|
<dt><b>CPF2225</b></dt>
|
||
|
<dd>Not able to allocate internal system object.
|
||
|
</dd>
|
||
|
<dt><b>CPF9801</b></dt>
|
||
|
<dd>Object &2 in library &3 not found.
|
||
|
</dd>
|
||
|
<dt><b>CPF9802</b></dt>
|
||
|
<dd>Not authorized to object &2 in &3.
|
||
|
</dd>
|
||
|
<dt><b>CPF9803</b></dt>
|
||
|
<dd>Cannot allocate object &2 in library &3.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DSPAUT.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|