head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2003.06.15.15.44.01; author swiergot; state Exp; branches; next ; desc @@ 1.1 log @- Version 1.2.0. - Splitted misc patch into five new patches. - Reviewed docs_source. - Preserving old configuration files. - Don't enable local users logins by default. - Extended configuration file. @ text @diff -ruN vsftpd-1.2.0.orig/INSTALL vsftpd-1.2.0/INSTALL --- vsftpd-1.2.0.orig/INSTALL 2002-11-09 16:45:02.000000000 +0100 +++ vsftpd-1.2.0/INSTALL 2003-06-15 15:55:42.000000000 +0200 @@@@ -27,11 +27,11 @@@@ [root@@localhost root]# useradd nobody useradd: user nobody exists -2b) vsftpd needs the (empty) directory /usr/share/empty in the default +2b) vsftpd needs the (empty) directory /var/empty in the default configuration. Add this directory in case it does not already exist. e.g.: -[root@@localhost root]# mkdir /usr/share/empty/ -mkdir: cannot create directory `/usr/share/empty': File exists +[root@@localhost root]# mkdir /var/empty +mkdir: cannot create directory `/var/empty': File exists 2c) For anonymous FTP, you will need the user "ftp" to exist, and have a valid home directory (which is NOT owned or writable by the user "ftp"). diff -ruN vsftpd-1.2.0.orig/tunables.c vsftpd-1.2.0/tunables.c --- vsftpd-1.2.0.orig/tunables.c 2003-05-28 00:30:06.000000000 +0200 +++ vsftpd-1.2.0/tunables.c 2003-06-15 15:55:20.000000000 +0200 @@@@ -76,7 +76,7 @@@@ unsigned int tunable_max_per_ip = 0; unsigned int tunable_trans_chunk_size = 0; -const char* tunable_secure_chroot_dir = "/usr/share/empty"; +const char* tunable_secure_chroot_dir = "/var/empty"; const char* tunable_ftp_username = "ftp"; const char* tunable_chown_username = "root"; const char* tunable_xferlog_file = "/var/log/xferlog"; diff -ruN vsftpd-1.2.0.orig/vsftpd.conf.5 vsftpd-1.2.0/vsftpd.conf.5 --- vsftpd-1.2.0.orig/vsftpd.conf.5 2003-05-28 00:50:28.000000000 +0200 +++ vsftpd-1.2.0/vsftpd.conf.5 2003-06-15 15:55:14.000000000 +0200 @@@@ -638,7 +638,7 @@@@ directory should not be writable by the ftp user. This directory is used as a secure chroot() jail at times vsftpd does not require filesystem access. -Default: /usr/share/empty +Default: /var/empty .TP .B user_config_dir This powerful option allows the override of any config option specified in @ .