CHKPWD (Check Password)

CHKPWD Command syntax diagram

 

Purpose

The Check Password (CHKPWD) command checks a password for the user running the command and determines its validity. The password is the security key that allows the user to sign on the system.

 

Required Parameters

PASSWORD
Specifies a password value that is checked for validity. If the password is correct, no message is shown. If the password not correct, one of the following messages is shown after each attempt:

CPF2362
Password not correct.
CPF2363
One attempt left to check your password.
CPF2364
The number of allowable attempts to check your password has been exceeded.

Example for CHKPWD

CHKPWD  JOHNJONES

This command checks whether the current password is JOHNJONES.

Error messages for CHKPWD

*ESCAPE Messages

CPF2362
Password not correct.
CPF2363
Only 1 attempt left to check password.
CPF2364
Maximum number of attempts to check password reached.