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.

The xinetd Super Server 383LISTING 19.2xinetd Configuration File for rsync# default: off# description: The rsync server is a good addition to an ftp server, as it \# allows crc checksumming etc.service rsync{disable = yessocket_type = streamwait= nouser= rootserver= /usr/bin/rsyncserver_args = —daemonlog_on_failure += USERID}Any of the default attributes from /etc/xinetd.conf can be overwritten in these individualservice files. Refer to the xinetd.conf man page with the man xinetd.conf commandfor a complete list of attributes.Important attributes listed in the configuration file for each xinetd service includedisable, user, and server. The disable attribute determines whether or not the service isaccepting incoming connections via xinetd. If set to no, xinetd will hand off connectionsto it if the client first passes through the xinetd access control. Setting it to yes disablesthe service. The user specified with the user attribute can be set to a username or a UID.If set to a username, it must be resolvable to a UID from /etc/passwd. This UID owns theserver process for the individual xinetd service. The server attributes specifies theprogram executed if the service is enabled. To enable changes made to the configurationfiles in /etc/xinetd.d/, use the service xinetd reload command.Starting and Stopping xinetdTo start, stop, and restart xinetd, use the following command as root:service xinetd Replace with one of the following:. start: Start the xinetd service.19. stop: Stop the xinetd service.. status: Show the status of xinetd.. restart: Stop the service if it is running, then start xinetd. If the service is notalready running, the stop action will fail, but the start action will still be called.. condrestart: If the service is already running, and only if the service is alreadyrunning, restart it.. reload: Reload the server configuration to enable changes to the configuration files.

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

Saved successfully!

Ooh no, something went wrong!