Use this procedure to set up an OMVS segment.
To set up an OMVS segment
Note: For more information about OMVS UID numbers, see IBM's UNIX System Services Planning guide.
SET PROFILE(USER) DIV(OMVS) INSERT uuuuuuu UID(nnn) HOME(/) PROGRAM(/bin/sh)
TSS ADD(uuuuuuu) HOME(/) OMVSPGM(/bin/sh) UID(nnn) GROUP(OMVSGRP)
ALU uuuuuuu OMVS(UID(nnn) HOME(/) PROGRAM(/bin/sh))
Note: The OMVS segment must contain the following:
SET PROFILE(USER) DIV(OMVS) LIST uuuuuu
TSS LIS(uuuuuu) DATA(ALL)
LISTUSER uuuuuu OMVS NORACF
You can use the UNIX root directory (/) as shown in step 2, or you can use a customized home directory name.
For example, to set up a directory called /u/name for UIDnnn, issue the following commands in the OMVS UNIX shell:
mkdir /u/name chown nnn /u/name chmod 777 /u/name
ls -ld /u/name
The following result appears:
drwxrwxrwx 2 user group 8192 Sep 31 14:58 /u/name
extattr -a/bin/sh