//*
//* Define a new user in RACF. The user will be able to use
//* TSO and USS.
//*
//* Change
//* - the user id (do ===> change PREVUSR JOHND,all)
//* - the user name
//* - the UID (unique for a typical user, 0 for sysadms)
//* - the home directory (may be lower case)
//*
//*
//ADDUSR EXEC PGM=IKJEFT01,DYNAMNBR=75,TIME=100,REGION=6M
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTERM DD DUMMY
//SYSTSIN DD *
DELUSER PREVUSR
ADDUSER PREVUSR +
NAME('Previous User') +
OWNER(IBMUSER) +
PASSWORD(INITPW) +
TSO( +
ACCTNUM(ACCT#) +
PROC(ISPFPROC) +
COMMAND(ISPF) +
JOBCLASS(A) +
MSGCLASS(X) +
HOLDCLASS(X) +
SYSOUTCLASS(X) +
SIZE(40000) +
MAXSIZE(0) ) +
OMVS(HOME('/home/prevusr') +
PROGRAM('/bin/sh') +
UID(512) )
PERMIT JCL CLASS(TSOAUTH) ID(PREVUSR) ACCESS(READ)
PERMIT OPER CLASS(TSOAUTH) ID(PREVUSR) ACCESS(READ)
PERMIT ACCT# CLASS(ACCTNUM) ID(PREVUSR) ACCESS(READ)
PERMIT ISPFPROC CLASS(TSOPROC) ID(PREVUSR) ACCESS(READ)
SETROPTS REFRESH RACLIST(TSOPROC)
SETROPTS REFRESH RACLIST(TSOAUTH)
SETROPTS REFRESH RACLIST(ACCTNUM)
/*
|