Vincent, Here is an example CL program that enables a user profile.
On Friday, September 18, 1998, 07:36 AM, vincent wrote: How to grant the adopt authority to operator ids in order for them to only enable their passwords or other passwords without using security administrator id??
PGM PARM(&USRPRF) DCL &USRPRF *CHAR LEN(10) DCL &MESAGE *CHAR LEN(80) CHKOBJ OBJ(QSYS/&USRPRF) OBJTYPE(*USRPRF) MONMSG MSGID(CPF9801) EXEC(DO) CHGVAR VAR(&MESAGE) VALUE('USERID- ' *CAT &USRPRF + *BCAT ' NOT FOUND.') SNDPGMMSG MSG(&MESAGE) TOPGMQ(*EXT) GOTO END ENDDO CHGUSRPRF USRPRF(&USRPRF) STATUS(*ENABLED) END: ENDPGMWhen you compile the program, set the USEADPAUT parameter to *YES. Then change the owner of the program to the Security Officer or Sec Admin using the CHGOBJOWN command. Mark McCall
On Friday, September 18, 1998, 07:36 AM, vincent wrote: How to grant the adopt authority to operator ids in order for them to only enable their passwords or other passwords without using security administrator id??
Comment