121 lines
4.5 KiB
HTML
121 lines
4.5 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>Revoke Public Authority (RVKPUBAUT)</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="RVKPUBAUT.Top_Of_Page"></a>
|
|
<h2>Revoke Public Authority (RVKPUBAUT)</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="#RVKPUBAUT.PARAMETERS.TABLE">Parameters</a><br>
|
|
<a href="#RVKPUBAUT.COMMAND.EXAMPLES">Examples</a><br>
|
|
<a href="#RVKPUBAUT.ERROR.MESSAGES">Error messages</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div> <a name="RVKPUBAUT"></a>
|
|
<p>The Revoke Public Authority (RVKPUBAUT) limits the use of a set of IBM-supplied commands and programs by changing the public authority to *EXCLUDE. To determine what commands and programs are being restricted, issue the Retrieve CL Source (RTVCLSRC) command against the program QSECRVKP and examine the source file created by the RTVCLSRC command.
|
|
</p>
|
|
<p><b>Restriction:</b> You must have all object (*ALLOBJ) special authority to run this command.
|
|
</p>
|
|
<p>This command can be customized by the security administrator by following the steps below:
|
|
</p>
|
|
<ol>
|
|
<li>Issue the Retrieve CL Source (RTVCLSRC) command against the program QSECRVKP.
|
|
</li>
|
|
<li>Edit the source code produced from the RTVCLSRC command and compile the new program. Make sure that the program is given a new name, is created into a library other than QSYS, and that the *PUBLIC authority is set to *EXCLUDE.
|
|
</li>
|
|
<li>Issue the Change Command (CHGCMD) against the Revoke Public Authority command and specify your new program for the <b>PGM</b> parameter. An example is listed below:
|
|
<p>
|
|
<pre>
|
|
CHGCMD CMD(QSYS/RVKPUBAUT) PGM(library_name/new_pgm_name)
|
|
</pre>
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>If a product upgrade is done, the RVKPUBAUT command is reinstalled, or maintenance is applied to the RVKPUBAUT command, the CHGCMD will have to be issued again to customize the command.
|
|
</p>
|
|
</li>
|
|
</ol>
|
|
<p><b>DISCLAIMER:</b> IBM cannot guarantee or imply reliability, serviceability, performance or function of the retrieved QSECRVKP source code and any programs. THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE EXPRESSLY DISCLAIMED.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#RVKPUBAUT.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
|
|
<div>
|
|
<h3><a name="RVKPUBAUT.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="#RVKPUBAUT.LIB"><b>LIB</b></a></td>
|
|
<td valign="top">Library</td>
|
|
<td valign="top"><i>Name</i>, <b><u>QSYS</u></b></td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#RVKPUBAUT.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</div>
|
|
<div> <a name="RVKPUBAUT.LIB"></a>
|
|
<h3>Library (LIB)</h3>
|
|
<p>The name of the library where the IBM-supplied commands are to be found. The library value is only used for commands because they can be located in secondary language libraries.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>QSYS</u></b></dt>
|
|
<dd>The commands are located in library QSYS.
|
|
</dd>
|
|
<dt><b><i>library-name</i></b></dt>
|
|
<dd>The library where the commands are located.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#RVKPUBAUT.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="RVKPUBAUT.COMMAND.EXAMPLES">Examples</a> </h3>
|
|
<p>
|
|
<pre>
|
|
RVKPUBAUT LIB(QSYS)
|
|
</pre>
|
|
</p>
|
|
<p>This command sets the public authority for commands and programs in library QSYS to *EXCLUDE.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#RVKPUBAUT.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="RVKPUBAUT.ERROR.MESSAGES">Error messages</a> </h3>
|
|
<p><b><u>*ESCAPE Messages</u></b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>CPFB304</b></dt>
|
|
<dd>User does not have required special authorities.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#RVKPUBAUT.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</body>
|
|
</html>
|