[Comm] Master 2.4 and vsftp
Aleksander N. Gorohovski
=?iso-8859-1?q?angel_=CE=C1_feht=2Edgtu=2Edonetsk=2Eua?=
Сб Ноя 20 12:06:09 MSK 2004
On Sat, 20 Nov 2004 12:51:12 +0300, Fedor Sumkin <altcommunity на mail.ru>
wrote:
> Имеем установленный мастер, необходимо поднять анонимус фтп на базе
> vsftp, пакеты vsftp, anonftp установлены.
>
> Читаем приложенную книжку по администрированию системы, проверяем
> cat /etc/xinetd.d/vsftpd
> service ftp
> {
> disable = no
> socket_type = stream
> protocol = tcp
> wait = no
> user = root
> nice = 10
> rlimit_as = 16M
> server = /usr/sbin/vsftpd
> # server_args =
only_from = ?
> }
>
> cat /etc/vsftpd.conf
>
> #port_enable=NO
> #pasv_enable=NO
> anonymous_enable=YES
> #local_enable=YES
> #write_enable=YES
write_enable=YES
> local_umask=022
> #pasv_min_port=49152
> #pasv_max_port=65535
> #anon_upload_enable=YES
> #anon_mkdir_write_enable=YES
> dirmessage_enable=YES
> xferlog_enable=YES
> connect_from_port_20=YES
> #chown_uploads=YES
> #chown_username=whoever
> #xferlog_file=/var/log/vsftpd.log
> #xferlog_std_format=YES
> #idle_session_timeout=600
> #data_connection_timeout=120
> nopriv_user=novsftpd
> #async_abor_enable=YES
> #ascii_upload_enable=YES
> #ascii_download_enable=YES
> #ftpd_banner=Welcome to blah FTP service.
> #deny_email_enable=YES
> #banned_email_file=/etc/vsftpd/banned_emails
> #chroot_list_enable=YES
> #chroot_list_file=/etc/vsftpd/chroot_list
chroot_list_file=/etc/vsftpd/chroot_list
> #ls_recurse_enable=YES
> #hide_ids=YES
> #use_localtime=YES
>
> ll /var/ftp/
> total 8
> drwxrwsr-x 2 root ftpadmin 4096 Nov 20 12:50 ./
> drwxr-xr-x 20 root root 4096 Nov 20 12:00 ../
>
> service xinetd restart
>
> ftp 10.33.253.221
> Connected to 10.33.253.221 (10.33.253.221).
> 421 Service not available, remote server has closed connection
>
Подробная информация о списке рассылки community