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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Related Information<br />

logname<br />

inetd daemon — Provide Internet Service Management<br />

Format<br />

Description<br />

Options<br />

Signals<br />

inetd [–d] [configuration file]<br />

The inetd daemon provides service management for a network. For example, it<br />

starts the rlogind program whenever there is a remote login request from a<br />

workstation.<br />

The rlogind program is the server for the remote login command rlogin commonly<br />

found on <strong>UNIX</strong> systems. It validates the remote login request and verifies the<br />

password of the target user. It starts a z/<strong>OS</strong> shell for the user and handles<br />

translation between ASCII and EBCDIC code pages as data flows between the<br />

workstation and the shell.<br />

When inetd is running and receives a request for a connection, it processes that<br />

request for the program associated with that socket. For example, if a user tries to<br />

log in from a remote system into the z/<strong>OS</strong> shell while inetd is running, inetd<br />

processes the request for connection and then issues a fork() and execl() to the<br />

rlogin program to process the rlogin request. It then goes back to monitoring for<br />

further requests for those applications that can be found as defined in the<br />

/etc/inetd.conf file.<br />

–d Specifies that the inetd daemon be started in debug mode. All debug<br />

messages are written to stderr.<br />

configuration file<br />

Specifies that the inetd daemon be started with a configuration file other<br />

than the default /etc/inetd.conf file.<br />

inetd recognizes the following signals:<br />

SIGTERM<br />

Terminates inetd in an ordinary fashion and deletes /etc/inetd.pid. You can<br />

restart inetd, if you want.<br />

SIGINT<br />

Same as SIGTERM.<br />

SIGHUP<br />

Rereads the inetd configuration file. This can be used to start new services,<br />

or to restart services with a different port.<br />

Other signals that normally end a process (such as SIGQUIT or SIGKILL) should<br />

not normally be sent to inetd because the program will not have a chance to<br />

remove /etc/init.pid.<br />

id<br />

Chapter 2. Shell command descriptions 313

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

Saved successfully!

Ooh no, something went wrong!