PW?
Notes:
- 1 For more information on prefix keywords, see the DIRMAINT EXEC.
Purpose
Use the PW? operand of the DIRMAINT command to determine the date of the previous CP logon password change. Pending system password changes are also indicated in the response.
Operands
- Warning
- specifies that a response is not returned to you unless your password is within the expiration warning period.
Usage Notes
- You may use one or more of the prefix keywords (REQuest, TOsys, ASuser, BYuser, PRESET, FORuser, MENU) with this command. These prefix keywords may be specified in any order, but each keyword may only be specified once. The AT prefix keyword is not applicable to the command. It is accepted without error, but otherwise ignored.
- Optional parameters are allowed on this command, but none are required. Use the MENU prefix operand to display the menu for this command so you can select or fill in the optional parameters.
- On a system with an active External Security Manager (ESM) exit this command is rejected with a message since passwords are under control of the ESM.
- The invocation of the PW? operand can be automated. The DIRMAINT command with the PW? operand
can be placed in the PROFILE EXEC to automate the process as follows:
EXEC DIRMAINT PW?Note: The full spelling of DIRMAINT is required and it must be prefixed with EXEC.If you only want a response when password expiration is near or a system password change is pending, add the WARNING option as follows:EXEC DIRMAINT PW? WARNING - If the DIRM PW? command is issued while an administrator scheduled password change is pending,
then the user will be required to enter their current password for validation. The response supplies
both the new password and the effective date.
If the DIRM PW? command is issued when no administrator scheduled change is pending, the user is not required to enter their current password. The response supplies the number of days remaining before the password must be changed by the user.
- When the DIRMAINT PW? command is invoked, the user is informed (by a message) of the current age of their password and the number of days remaining until it is considered expired.
- If a system password change event is pending, the user is also notified that the password will be changed. The date the change will become effective and the new password are also related in the message.
