Utilities
z/OS User Setup
RACF user with TSO, NetView, catalog alias, data set profile and z/OS UNIX (OMVS)
ADDUSER sets it expired: valid for one logon, where the user must change it
Generated
Full job, RACF commands for TSO, home directory from the shell and checks
//USERADD JOB (ACCT),'USER SETUP',CLASS=A,MSGCLASS=X
//* 1. RACF: user, groups, segments and profiles
//RACF EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
ADDUSER <user> +
OWNER(<group>) +
DFLTGRP(<group>) +
PASSWORD(<password>) +
OMVS(UID(<uid>) HOME('/u/<user>') PROGRAM('/bin/sh'))
/*
//* 2. z/OS UNIX home directory
//HOME EXEC PGM=BPXBATCH,COND=(4,LT)
//STDOUT DD SYSOUT=*
//STDERR DD SYSOUT=*
//STDPARM DD *
SH mkdir -p /u/<user>;
chown <user>:<group> /u/<user>;
chmod 700 /u/<user>
/*A zFS of its own for this home?Create it with the zFS generator