z/OS UNIX System Services Planning
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Steps for setting up security procedures for daemons

z/OS UNIX System Services Planning
GA32-0884-00

Before you begin: You need to assume the following:
  • You want the added system integrity of having BPX.DAEMON defined.
  • Daemons will share the OMVSKERN user ID and be started from /etc/rc.
Perform the following steps to define and start daemons.
  1. Define the group OMVSGRP.
    ADDGROUP
    OMVSGRP OMVS(GID(1))

    _______________________________________________________________

  2. Define the user OMVSKERN.
    ADDUSER OMVSKERN DFLTGRP(OMVSGRP)
    OMVS(UID(0) HOME('/') PROGRAM('/bin/sh'))
    NOPASSWORD 

    NOPASSWORD indicates that OMVSKERN is a protected user ID; it cannot be used to enter the system by using a password or password phrase. The user ID will not be revoked due to invalid logon attempts.

    _______________________________________________________________

  3. Add the daemon cataloged procedure to the RACF® STARTED class or the Started Procedure table, module ICHRIN03. Do not make it trusted. See Steps for preparing RACF.

    _______________________________________________________________

  4. Create the BPX.DAEMON FACILITY class profile.
    RDEFINE FACILITY
    BPX.DAEMON UACC(NONE)

    _______________________________________________________________

  5. Grant daemon authority to the kernel.
    PERMIT BPX.DAEMON
    CLASS(FACILITY) ID(OMVSKERN) ACCESS(READ)

    _______________________________________________________________

  6. Activate program control if you have not already done so and ensure that the daemon programs and Language Environment® runtime library are in a library that is controlled by z/OS.
    SETROPTS WHEN(PROGRAM)
    RDEFINE PROGRAM * ADDMEM
    ('CEE.SCEERUN'/RTLPAK/NOPADCHK
    'SYS1.LINKLIB'/'******'/NOPADCHK) UACC(READ)
    SETROPTS WHEN(PROGRAM) REFRESH
    Change RTLPAK to the pack that the PDS resides on.

    Tip: You can use PROGRAM PROFILE ** instead of PROGRAM PROFILE *.

    _______________________________________________________________

When you are done, you have set up and defined daemons.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014