Следите за новостями русскоязычного сообщества Ubuntu в Twitter-ленте @ubuntu_ru_loco
0 Пользователей и 1 Гость просматривают эту тему.
$ sudo mv /etc/proftpd/proftpd.conf /etc/proftpd/proftpd.conf.bak
$ sudo gedit /etc/proftpd/proftpd.conf
## /etc/proftpd/proftpd.conf -- This is a basic ProFTPD configuration file.# To really apply changes reload proftpd after modifications.## Includes DSO modulesInclude /etc/proftpd/modules.conf# Set off to disable IPv6 support which is annoying on IPv4 only boxes.UseIPv6 offServerName "To-to ftp server"ServerType inetdDefaultServer onDeferWelcome offDefaultRoot ~RequireValidShell offAuthPAM offRequireValidShell offTimeoutNoTransfer 600TimeoutStalled 600TimeoutIdle 1200DisplayLogin welcome.msgDisplayFirstChdir .messageListOptions "-l"DenyFilter \*.*/# Port 21 is the standard FTP port.Port 21# To prevent DoS attacks, set the maximum number of child processes# to 30. If you need to allow more than 30 concurrent connections# at once, simply increase this value. Note that this ONLY works# in standalone mode, in inetd mode you should use an inetd server# that allows you to limit maximum number of processes per service# (such as xinetd)MaxInstances 30# Set the user and group that the server normally runs at.User proftpdGroup nogroup# Umask 022 is a good standard umask to prevent new files and dirs# (second parm) from being group and world writable.Umask 022 022# Normally, we want files to be overwriteable.AllowOverwrite onTransferLog /var/log/proftpd/xferlogSystemLog /var/log/proftpd/proftpd.log<IfModule mod_ctrls.c>ControlsEngine onControlsMaxClients 2ControlsLog /var/log/proftpd/controls.logControlsInterval 5ControlsSocket /var/run/proftpd/proftpd.sock</IfModule><IfModule mod_ctrls_admin.c>AdminControlsEngine on</IfModule>
sudo gedit /etc/proftpd/proftpd.conf
sudo /etc/init.d/proftpd restart
ProFTPD warning: cannot start neither in standalone nor in inetd/xinetd mode. Check your configuration.
sudo apt-get purge proftpdcd /etcsudo rm -r proftpdsudo apt-get install proftpd
Страница сгенерирована за 0.038 секунд. Запросов: 25.