Red Hat ENTERPRISE LINUX 3 Reference Manual page 266

Hide thumbs Also See for ENTERPRISE LINUX 3:
Table of Contents

Advertisement

248
16.4.2. The
/etc/xinetd.d/
The files in the
/etc/xinetd.d/
by
and the names of the files correlate to the service. As with
xinetd
only when the
xinetd
the
service.
xinetd
The format of files in the
/etc/xinetd.conf
file is to make customization easier and less likely to effect other services.
To gain an understanding of how these files are structured, consider the
file:
service telnet
{
flags
socket_type
wait
user
server
log_on_failure
disable
}
These lines control various aspects of the
— Defines the service name, usually one listed in the
service
— Sets any of a number of attributes for the connection.
flags
the socket for a Telnet connection.
— Sets the network socket type to
socket_type
— Defines whether the service is single-threaded (
wait
— Defines what user ID the process process will run under.
user
— Defines the binary executable to be launched.
server
log_on_failure
ready defined in
xinetd.conf
— Defines whether or not the service is active.
disable
16.4.3. Altering
xinetd
There are a large assortment of directives available for
lights some of the more commonly used options.
16.4.3.1. Logging Options
The following logging options are available for both
configuration files within the
Below is a list of some of the more commonly used logging options:
— Logs the fact that a failed attempt was made (
ATTEMPT
— Logs the length of time the service is used by a remote system (
DURATION
— Logs the exit status or termination signal of the service (
EXIT
Directory
directory contains the configuration files for each service managed
service is started. For any changes to take effect, the administrator must restart
/etc/xinetd.d/
. The primary reason the configuration for each service is stored in a separate
= REUSE
= stream
= no
= root
= /usr/sbin/in.telnetd
+= USERID
= yes
telnet
— Defines logging parameters for
.
Configuration Files
/etc/xinetd.d/
Chapter 16. TCP Wrappers and
directory use the same conventions as
service:
/etc/services
REUSE
.
stream
) or multi-threaded (
yes
log_on_failure
protected services. This section high-
xinetd
/etc/xinetd.conf
directory.
log_on_failure
log_on_success
, this file is read
xinetd.conf
/etc/xinetd.d/telnet
file.
instructs
xinetd
).
no
in addition to those al-
and the service-specific
).
log_on_success
).
xinetd
to reuse
).

Advertisement

Table of Contents
loading

Table of Contents