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
Groups
TSO segment
TSO/ISPF logon: account number and logon procedure, with their RACF permits
NetView segment
NetView operator: console, span checking, domains and logon command
Catalog alias
The user's data sets (JDOE.*) go to a user catalog
Data set profile
ADDSD 'JDOE.**' UACC(NONE): only the user can access their data sets
z/OS UNIX (OMVS)
UID, home directory and shell, and a GID for the default group

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

© 2026 Emuframe·🍪 This site only uses functional cookies. No tracking or personal data collection.