278 lines
8.2 KiB
HTML
278 lines
8.2 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>Work with Authority (WRKAUT)</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="WRKAUT.Top_Of_Page"></a>
|
||
|
<h2>Work with Authority (WRKAUT)</h2>
|
||
|
<table width="100%">
|
||
|
<tr>
|
||
|
<td valign="top" align="left"><b>Where allowed to run: </b>Interactive environments (*INTERACT *IPGM *IREXX *EXEC)<br>
|
||
|
<b>Threadsafe: </b>No
|
||
|
</td>
|
||
|
<td valign="top" align="right">
|
||
|
<a href="#WRKAUT.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#WRKAUT.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#WRKAUT.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="WRKAUT"></a>
|
||
|
<p>The Work with Authority (WRKAUT) command shows the list of authorized users of an object and their associated authorities. From the list, you can select from options to perform the following:
|
||
|
</p>
|
||
|
<ul>
|
||
|
<li>Add a user
|
||
|
</li>
|
||
|
<li>Change user authority
|
||
|
</li>
|
||
|
<li>Remove a user
|
||
|
</li>
|
||
|
</ul>
|
||
|
<p>The following are displayed 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>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="#WRKAUT.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="WRKAUT.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="#WRKAUT.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="#WRKAUT.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>
|
||
|
</table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKAUT.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="WRKAUT.OBJ"></a>
|
||
|
<h3>Object (OBJ)</h3>
|
||
|
<p>Specifies the objects for which the authorized users and their authorities are to be shown.
|
||
|
</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="#WRKAUT.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="WRKAUT.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 work with 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 worked with. The object pointed to by the symbolic link is worked with.
|
||
|
</dd>
|
||
|
<dt><b>*YES</b></dt>
|
||
|
<dd>If the object is a symbolic link, the symbolic link is worked with. The object pointed to by the symbolic link is not worked with.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKAUT.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="WRKAUT.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p>
|
||
|
<pre>
|
||
|
WRKAUT OBJ('/QSYS.LIB/ARLIB.LIB/PROG1.PGM')
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command causes the list of authorized users and their authorities for the object named PROG1 to be shown. PROG1 is a program located in the library named ARLIB.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKAUT.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="WRKAUT.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>CPF2225</b></dt>
|
||
|
<dd>Not able to allocate internal system object.
|
||
|
</dd>
|
||
|
<dt><b>CPF22F0</b></dt>
|
||
|
<dd>Unexpected errors occurred during processing.
|
||
|
</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="#WRKAUT.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|