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/FAQ vsftpd-1.2.0/FAQ --- vsftpd-1.2.0.orig/FAQ 2003-05-28 01:37:35.000000000 +0200 +++ vsftpd-1.2.0/FAQ 2003-06-15 16:21:59.000000000 +0200 @@@@ -27,7 +27,7 @@@@ chown root ~ftp; chmod -w ~ftp Q) Help! I'm getting the error message "str_getpwnam". -A) The most likely cause of this is that the "nobody" user does not exist on +A) The most likely cause of this is that the "vsftpd" user does not exist on your system. vsftpd needs this user to run bits of itself with no privilege. Q) Help! Local users cannot log in. 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 16:31:20.000000000 +0200 @@@@ -21,11 +21,11 @@@@ -rwxrwxr-x 1 chris chris 61748 Sep 27 00:26 vsftpd Step 2) Satisfy vsftpd pre-requisites -2a) vsftpd needs the user "nobody" in the default configuration. Add this +2a) vsftpd needs the user "vsftpd" in the default configuration. Add this user in case it does not already exist. e.g.: -[root@@localhost root]# useradd nobody -useradd: user nobody exists +[root@@localhost root]# useradd vsftpd +useradd: user vsftpd exists 2b) vsftpd needs the (empty) directory /var/empty in the default configuration. Add this directory in case it does not already exist. e.g.: 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 16:22:41.000000000 +0200 @@@@ -77,12 +77,12 @@@@ unsigned int tunable_trans_chunk_size = 0; const char* tunable_secure_chroot_dir = "/var/empty"; -const char* tunable_ftp_username = "ftp"; +const char* tunable_ftp_username = "vsftpd"; const char* tunable_chown_username = "root"; const char* tunable_xferlog_file = "/var/log/xferlog"; const char* tunable_vsftpd_log_file = "/var/log/vsftpd"; const char* tunable_message_file = ".message"; -const char* tunable_nopriv_user = "nobody"; +const char* tunable_nopriv_user = "vsftpd"; const char* tunable_ftpd_banner = 0; const char* tunable_banned_email_file = "/etc/vsftpd/banned_emails"; const char* tunable_chroot_list_file = "/etc/vsftpd/chroot_list"; 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 16:23:02.000000000 +0200 @@@@ -620,7 +620,7 @@@@ than nobody. The user nobody tends to be used for rather a lot of important things on most machines. -Default: nobody +Default: vsftpd .TP .B pam_service_name This string is the name of the PAM service vsftpd will use. @ .