Why HOME and PGM is not inserted automatically when we issue INSERT command with AUTOUID to create new ID?
UNIXOPTS records shows:
TTST / UNIXOPTS LAST CHANGED BY USER001 ON 11/21/19-08:44
NOBYP-FSA NODENYEXEC DFTGROUP() DFTUSER() NODIRACC
NODIRSRCH NOFSOBJ NOFSSEC NOGOSETGID NOHFSACL NOHFSSEC
NOIPCOBJ MODLUSER(AUTOOMVS) NGROUPS(300) NOPROCACT
NOPROCESS NOTRACEDFT UNIQUSER
GSO AUTOIDOM records shows:
TTST / AUTOIDOM LAST CHANGED BY USER002 ON 07/31/16-15:23
ASSIGNG ASSIGNU GIDEND(999,999) GIDNEXT(999,999)
GIDSTART(999,999) UIDEND(2,147,483,647) UIDNEXT(123,521)
UIDSTART(123,500)
MODLUSER omvs profile shows:
OMVS / AUTOOMVS LAST CHANGED BY PK$Z1B3 ON 11/21/19-08:29
HOME(/u/&lid) OMVSPGM(/bin/sh) UID(123,504)
Example insert command:
insert USER001 pass(Test@123) autouid
USER001 USER001
ACCESS ACC-CNT(0) ACC-DATE(00/00/00) ACC-TIME(00:00)
PASSWORD KERB-VIO(0) KERBCURV() PSWA1TOD(00/00/00-00:00)
PSWA2TOD(00/00/00-00:00) PSWD-DAT(00/00/00) PSWD-EXP
PSWD-INV(0) PSWD-TOD(01/13/20-13:09) PSWD-VIO(0)
PSWDCVIO(0) PWP-DATE(00/00/00) PWP-VIO(0)
TSO DFT-PFX(USER001)
STATISTICS CRE-TOD(01/13/20-13:09) SEC-VIO(0)
UPD-TOD(01/13/20-13:09)
RESTRICTIONS PREFIX(USER001)
OMVS / USER001 LAST CHANGED BY USER002 ON 01/13/20-13:09
UID(123,521)
Release : 16.0
Component : CA ACF2 for z/OS
AUTOUID automatically assigns a UID value when there is an active GSO AUTOIDOM record that specifies ASSIGNU. AUTOUID is implied if AUTOUID or UID are not specified on an insert command and there is an active GSO AUTOIDOM record that specifies ASSIGNU. In this instance UID(123,521) is assigned by AUTOUID.
Client's logonid does not have any GROUP assigned. A group is mandatory to have before accessing OMVS. The HOME and PGM section get assigned after user tries to access the OMVS.
Here is an example:
List logonid before OMVS access:
RESTRICTIONS GROUP(OMVSGRP) PREFIX(ABCD05)
OMVS / ABCD05 LAST CHANGED BY ABCD05 ON 01/14/20-10:18
UID(1,000)
List logonid output after OMVS access:
OMVS / ABCD05 HOME(/u/abcd05) OMVSPGM(/bin/sh) UID(1,000)