ibm-information-center/dist/eclipse/plugins/i5OS.ic.cl_5.4.0.1/anzdftpwd.htm

113 lines
4.8 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>Analyze Default Passwords (ANZDFTPWD)</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="ANZDFTPWD.Top_Of_Page"></a>
<h2>Analyze Default Passwords (ANZDFTPWD)</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="#ANZDFTPWD.PARAMETERS.TABLE">Parameters</a><br>
<a href="#ANZDFTPWD.COMMAND.EXAMPLES">Examples</a><br>
<a href="#ANZDFTPWD.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="ANZDFTPWD"></a>
<p>The Analyze Default Passwords (ANZDFTPWD) command allows you to print a report of all the user profiles on the system that have a default password and to take an action against the profiles. A profile has a default password when the profile's password matches the user profile name.
</p>
<p>When the system is operating at password level 2 or 3, both the uppercase and lowercase values of the user profile name are checked. However, mixed case values of the user profile name will not be checked. For example, if the user profile JAMES has a password of 'JAMES' or 'james' it will be detected as having a default password; but passwords of 'JaMeS' or 'James' will not be detected as default passwords.
</p>
<p><b>Restriction:</b> You must have *ALLOBJ and *SECADM special authorities to use this command.
</p>
<p>The format of the report depends on what action is taken against the profiles. When no action is taken, each entry will contain the user profile name, the user profile's status (STATUS), whether the profile's password is expired (PWDEXP), and the text description associated with the profile (TEXT). When an action is taken against the profiles, each entry will also contain the user profile's STATUS and PWDEXP values after the profile has been changed.
</p>
<p>The list of user profiles with default passwords is also put in the system file QASECPWD in library QUSRSYS. Each entry contains the user profile name, the user profile STATUS and PWDEXP values before and after the profile is changed, and the user profile TEXT value. If no action was requested, the second set of STATUS and PWDEXP values will be blank.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ANZDFTPWD.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="ANZDFTPWD.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="#ANZDFTPWD.ACTION"><b>ACTION</b></a></td>
<td valign="top">Action taken against profiles</td>
<td valign="top">Single values: <b><u>*NONE</u></b><br>Other values (up to 2 repetitions): *DISABLE, *PWDEXP</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#ANZDFTPWD.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="ANZDFTPWD.ACTION"></a>
<h3>Action taken against profiles (ACTION)</h3>
<p>The action to be taken against the user profiles that have a default password.
</p>
<dl>
<dt><b><u>*NONE</u></b></dt>
<dd>No action is taken against profiles with a default password.
</dd>
<dt><b>*DISABLE</b></dt>
<dd>The user profile STATUS field is set to *DISABLED.
</dd>
<dt><b>*PWDEXP</b></dt>
<dd>The user profile PWDEXP field is set to *YES.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ANZDFTPWD.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="ANZDFTPWD.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
ANZDFTPWD ACTION(*DISABLE *PWDEXP)
</pre>
</p>
<p>This command analyzes all user profiles on the system. <b>Any user profiles on the system that have a default password will be disabled and their passwords will be set to expired.</b>
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ANZDFTPWD.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="ANZDFTPWD.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPFB301</b></dt>
<dd>Cannot open file &amp;2 in library &amp;3.
</dd>
<dt><b>CPFB302</b></dt>
<dd>Not authorized to check for default passwords.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ANZDFTPWD.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>