How to enable Auto Creation of Home Directories
search cancel

How to enable Auto Creation of Home Directories

book

Article ID: 45149

calendar_today

Updated On:

Products

Top Secret Top Secret - LDAP

Issue/Introduction

How to enable Auto Creation of Home Directories:

The only mechanism that will create a Home directory when OMVS is entered is the Automount facility.

If you will have a number of new users, then you could set up Automount and use a different path for their HOME directories ( e.g. /home ) instead of /u .

Then Automount will dynamically create a separate ZFS for each user and create a mount point of /home/userid and mount the ZFS for you. 

 

 

Environment

Release: TOPSEC00200-15-Top Secret-Security
Component:

Resolution

Instructions:

 Implementing Automount for home directories:

  1. Create a new directory in root called /home
  1. Create the following files with associated contents

 File: /etc/auto.master

 /home /etc/home.map

 File: /etc/home.map

 name *

 type ZFS

 Filesystem <uc_name> .OMVS.HOME.&SYSNAME..ZFS?

 mode rdwr

 duration 30

 delay 10

 setuid yes

 allocuser space(1,1) cyl pathperm(755) dataclas(zfs?)

 File: /etc/rc

 #Start the Automount Facility

 /usr/sbin/automount

  1. Update SYS1.PARMLIB member BPXPRMxx with this statement:

 FILESYSTYPE TYPE(AUTOMNT) ENTRYPOINT(BPXTAMD)

  1. Have security start defining user home directories in /home