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


Giving daemon authority to vendor-written programs

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

If you are writing a program that uses z/OS UNIX services to change user identity (such as using setuid and seteuid and so forth), you should refer to Setting up the UNIX-related FACILITY and SURROGAT class profiles to determine whether your program's use of these services requires it to have DAEMON authority.

If you determine that your program requires DAEMON authority, then you need to do the following:
  1. Document the requirement to assign a user ID to the daemon which has a UID of 0.
  2. Document the requirement to permit the daemon to the BPX.DAEMON FACILITY class profile.
  3. Document how to start the daemon from /etc/rc or as a started procedure.
  4. The main program and all programs that it loads must be marked program controlled in the file system or be loaded from an MVS™ program controlled library. For more information about marking programs program-controlled, see Customizing the system for IBM-supplied daemons. For more information about placing your programs into MVS libraries, see Moving z/OS UNIX executables into the LPA. This section describes steps to move a program into LPA; similar steps can be followed to move a program into a system linklist library or a step library. If you decide to use MVS libraries, you need to also see Steps for defining programs from load libraries to program control.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014