16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Table 13. Fields in the Configuration File (inetd daemon) (continued)<br />

login_name User ID and group that the forked daemon is to execute under. inetd can run<br />

a program with a UID that is not 0. However, if the program that inetd runs<br />

needs to change the identity of the process to that of the user, then the<br />

login_name must have been defined to RACF via ADDUSER as a superuser<br />

with a UID of 0 (UID 0) and the login_name must have been defined to<br />

RACF. This will allow inetd to use special functions like setgid() and<br />

setuid().<br />

If the program that will be invoked by inetd requires the use of special<br />

functions like setuid() and seteuid(), then it must be permitted to the<br />

BPX.DAEMON class as in the following example for login, which is a typical<br />

ADDUSER command.<br />

ADDUSER rlogind omvs(uid(0) home(/)<br />

A typical permit command is:<br />

permit bpx.daemon class(facility)<br />

id(rlogind) access(read)<br />

How you set up security for daemons is the final determining factor. For<br />

more information, see z/<strong>OS</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> Planning.<br />

server_program Full pathname of the service. For example:<br />

/usr/sbin/rlogind<br />

is the full pathname for the rlogind command.<br />

server_arguments Maximum of 20 arguments. The first argument is the server name.<br />

Related Information<br />

The inetd daemon creates a temporary file, /etc/inetd.pid, that contains the PID of<br />

the currently executing inetd daemon. This PID value is used to identify syslog<br />

records that originated from the inetd daemon process, and also to provide the PID<br />

value for commands such as kill that require you to specify a PID, and to provide a<br />

lock to prevent more than one inetd from being active at one time.<br />

For more information on setting up the inetd configuration file and configuring<br />

daemons in general, see z/<strong>OS</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> Planning or z/<strong>OS</strong><br />

Communications Server: IP Configuration Reference.<br />

infocmp — Compare or print the terminal description<br />

Format<br />

Description<br />

infocmp [–ducn] [–ILC] [–1Vv] [–s d|i|l|c] [–A directory] [–B directory]<br />

[term_names...]<br />

inetd daemon<br />

infocmp compares terminfo database entries, or prints a terminfo database entry.<br />

Output is written to standard output (stdout).<br />

The Curses application uses the terminfo database, which contains a list of terminal<br />

descriptions. This enables you to manipulate a terminal’s display regardless of the<br />

terminal type. To create the terminfo database, use tic. For information on defining<br />

the terminfo database, see z/<strong>OS</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> Planning.<br />

Chapter 2. Shell command descriptions 315

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!