Книга: Fedora™ Unleashed, 2008 edition
Configuring xinetd for the wu-ftp Server
Разделы на этой странице:
Configuring xinetd
for the wu-ftp
Server
When you use RPM to install wu-ftp
, the RPM package might contain a xinetd
configuration file, /etc/xinetd.d/wu-ftpd
, as shown in Listing 20.2. You need to edit the file because its default settings disable incoming FTP requests.
NOTE
Do not be confused by the first line of the wu-ftpd
file's text. Even though the line reads default: on
, FTP service is off unless you specifically configure its use. The line is a comment because it begins with a pound sign (#
) and is ignored by xinetd
. Whether FTP service is on is determined by the text line disable = yes
.
LISTING 20.2 xinetd
Configuration File for wu-ftpd
# default: on
# description: The wu-ftpd FTP server serves FTP connections. It uses
# normal, unencrypted usernames and passwords for authentication.
service ftp {
disable = yes
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.ftpd
server_args = -l -a
log_on_success += DURATION
nice = 10
}
Using an editor, change the disable = yes
line to disable = no
. Save the file and exit the editor. You then must restart xinetd
because configuration files are parsed only at startup. To restart xinetd
as root, issue the command /etc/rc.d/init.d/xinetd restart
. This makes a call to the same shell script that is called at any runlevel to start or stop the xinetd
daemon (and thus start up or shut down the system). xinetd
should report its status as:
# /etc/rc.d/init.d/xinetd restart
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
After it is restarted, the FTP server is accessible to all incoming requests.
- Forced writes - палка о двух концах
- Тестирование Web-сервиса XML с помощью WebDev.WebServer.exe
- Forced Writes
- InterBase Super Server для Windows
- Каталог BIN в SuperServer
- Минимальный состав сервера InterBase SuperServer
- InterBase Classic Server под Linux
- Каталог BIN в InterBase Classic Server для Linux
- SuperServer
- Classic vs SuperServer
- Рекомендации по выбору архитектуры: Classic или SuperServer?
- Улучшенное время отклика для версии SuperServer