12.07.2015 Views

Red Hat Enterprise Linux 5 Administration Unleashed

Red Hat Enterprise Linux 5 Administration Unleashed

Red Hat Enterprise Linux 5 Administration Unleashed

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

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

382CHAPTER 19Explaining Other Common Network Servicesnames, but be sure to double-check when using them with the enabled and disabledattributes.The next set of attributes in the default settings control logging. They are as follows:. log_type: Set the log service. If set to SYSLOG , the syslog facility specifiedis used. If set to FILE , logs are written to the specified file.. log_on_failure: Set the log service. If set to SYSLOG , the syslog facilityspecified is used. If set to FILE , logs are written to the specified file.. log_on_success: Set what type of messages are logged when an xinetd service isstarted or when one of them exists. Refer to the man page for xinetd.conf for acomplete list of values. With the default xinetd.conf settings, the remote hostaddress and the service process ID are logged.The next group of attributes sets the defaults for access control. Refer to the “Allowingxinetd Connections” section later in this chapter for details.The next three attributes are address and network default values. The bind and mdns attributesare listed but commented out by default. The usage of these attributes is as follows:. bind: To only listen for connections on a specific interface, set this value to the IPaddress of the interface.. mdns: Set to yes to enable mdns registration, which is currently only available onMac OS X. Set to no to disable mdns registration.. v6only: Set to yes to use IPv6 only. Set to no by default to use both IPv4 and IPv6.Three environmental attributes are listed as well:. passenv: Commented out by default. If set to a list of environment variables, thevalues are passed to the service started by xinetd when a connection is requestedand allowed to be passed on. If set to a blank value, no variables are passed onexcept those listed with the env attribute.. groups: If set to yes, the server is executed with access to the groups accessible bythe effective UID of the server. If set to no, the server does not have access to anyadditional groups. If set to a list of group names, the server is given access to thegroups listed.. umask: Set the default umask for the xinetd services. (The umask can be set for individualservices in the individual service file in the /etc/xinetd.d/ directory.)The very last line in xinetd.conf utilizes the includedir attribute. It tells the superdaemon to use the individual service files in the /etc/xinetd.d/ directory.Individual xinetd Service FilesEach xinetd service has a configuration file in the /etc/xinetd.d/ directory. For example,the xinetd configuration file for rsync is /etc/xinetd.d/rsync as shown in Listing 19.2.

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

Saved successfully!

Ooh no, something went wrong!