TAA Tools
CHGUSRPWD3      CHANGE USER PASSWORD 3                 TAASELF

The Change User  Password 3 command allows  a command change of  a user
password that  ensures the QPWDxxx  system value requirements  are met.
For  example, if you have specified that  a required digit exist by use
of QPWDRQDDGT.   This  allows a change  to be  made by  other than  the
interactive  user  that  still   follows  your  password  requirements.
CHGPWD  may only be used by an  interactive user.  CHGUSRPRF can change
a password, but does not check the system values.

You must  have both  *ALLOBJ  and *SECADM  special authorities  to  use
CHGUSRPWD3.

The API QSYCHGPWD is used.

A typical command would be:

             CHGUSRPWD3  USRPRF(uuuu) PASSWORD(ppp)

The PASSWORD  value is coded  for *MIXED  case (same as  CHGUSRPRF) and
DSPINPUT(*NO)  (prevents the password  from appearing in  the job log).

A 128 byte password is supported.

CHGUSRPWD3 escape messages you can monitor for
----------------------------------------------

None.  Escape messages from based on functions will be re-sent.

The messages from the API are specific  for each type of failure.   For
example,  CPF22C2 is  used if  the  password length  is  less than  the
value described  for QPWDMINLEN.   For the complete list,  see the API.

CHGUSRPWD3 Command parameters                         *CMD
-----------------------------

   USRPRF        The user profile name to change the password for.

                 Any  user  created  profile plus  QSECOFR,  QPGMR, and
                 QSYSOPR  may   be  changed.     Most  system   created
                 profiles (e.g.   QDBSHR) cannot  be changed.   For the
                 complete list, see the API.

   PWD           The  new  password  which  is  validated  against  the
                 QPWDxxx system values such as QPWDRQDDGT.

Restrictions
------------

You must  have both  *SECADM  and *ALLOBJ  special authorities  to  use
CHGUSRPWD3.

Most system created  profiles (except for QSECOFR,  QPGMR, and QSYSOPR)
cannot be changed.

Prerequisites
-------------

The following TAA Tools must be on your system:

     CHKALLOBJ       Check *ALLOBJ special authority
     CHKSECADM       Check *SECADM special authority
     RSNLSTMSG       Resend last message
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     SNDESCMSG       Send escape message

Implementation
--------------

None, the tool is ready to use.

Objects used by the tool
------------------------

   Object        Type    Attribute      Src member    Src file
   ------        ----    ---------      ----------    ----------

   CHGUSRPWD3    *CMD                   TAASELF       QATTCMD
   TAASELFC      *PGM       CLP         TAASELFC      QATTCL
					

Added to TAA Productivity tools January 15, 2014


Home Page Up to Top