conf
file). Each file in /etc/xinetd.d contains configuration information for a single service, and the
file is usually named after the service it configures. For example, to enable the rsync service, edit
the rsync file in the /etc/xinetd.d directory and look for a section similar to the following:
service rsync
{
disable = yes
socket_type = stream
wait = no
user = root
server = /usr/bin/rsync
server_args = --daemon
log_on_failure += USERID
}
Note that the first line of this example identifies the service as rsync. This exactly matches the
service name listed in the /etc/services file, causing the service to listen on port 873 for TCP
and UDP. You can see that the service is off by default (disable = yes). To enable the rsync
services, change the line to read disable = no instead. Thus, the disable line from the preceding
example would look like this:
disable = no
The rsync service is a nice one to turn on if your machine is an FTP server. It allows
people to use an rsync client (which includes a checksum-search algorithm) to download
files from your server. With that feature, users can restart a disrupted download without having
to start from the beginning.
Because most services are disabled by default, your computer is only as insecure as you make it.
Pages:
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507