diff --git a/server/major/vsftpd.xml b/server/major/vsftpd.xml index ddc835387b..f881e2ae55 100644 --- a/server/major/vsftpd.xml +++ b/server/major/vsftpd.xml @@ -13,151 +13,193 @@ ]> - -$LastChangedBy$ -$Date$ - - -<application>vs<acronym>FTP</acronym>D</application>-&vsftpd-version; - + - -Introduction to -<application>vs<acronym>FTP</acronym>D</application> + + $LastChangedBy$ + $Date$ + -The vsFTPD package -contains a very secure and very small FTP daemon. This is -useful for serving files over a network. + vsFTPD-&vsftpd-version; -Package information - -Download (HTTP): - -Download (FTP): - -Download MD5 sum: &vsftpd-md5sum; -Download size: &vsftpd-size; -Estimated disk space required: -&vsftpd-buildsize; -Estimated build time: -&vsftpd-time; - + + vsFTPD + -<application>vsFTPD</application> dependencies -Optional -, -, and - - - + + Introduction to vsFTPD - + The vsFTPD package contains a very + secure and very small FTP daemon. This is useful for serving files + over a network. - -Installation of <application>vsFTPD</application> + Package Information + + + Download (HTTP): + + + Download (FTP): + + + Download MD5 sum: &vsftpd-md5sum; + + + Download size: &vsftpd-size; + + + Estimated disk space required: &vsftpd-buildsize; + + + Estimated build time: &vsftpd-time; + + -For security reasons, running -vsFTPD as an unprivileged user -and group is encouraged. Also, a user to map anonymous users to should be -created. + vsFTPD Dependencies -install -d -m 0755 /var/ftp/empty && -install -d -m 0755 /home/ftp && + Optional + , + , and + + + + + + Installation of vsFTPD + + For security reasons, running vsFTPD + as an unprivileged user and group is encouraged. Also, a user to map + anonymous users to should be created. + +install -v -d -m 0755 /var/ftp/empty && +install -v -d -m 0755 /home/ftp && groupadd vsftpd && useradd -d /dev/null -c "vsFTPD User" -g vsftpd -s /bin/false vsftpd && groupadd ftp && -useradd -c anonymous_user -d /home/ftp -g ftp -s /bin/false ftp - +useradd -c anonymous_user -d /home/ftp -g ftp -s /bin/false ftp -Install vsFTPD by running -the following commands: + Install vsFTPD by running + the following commands: -make && -install -m 755 vsftpd /usr/sbin/vsftpd && -install -m 644 vsftpd.8 /usr/share/man/man8 && -install -m 644 vsftpd.conf.5 /usr/share/man/man5 && -install -m 644 vsftpd.conf /etc +make && +install -v -m 755 vsftpd /usr/sbin/vsftpd && +install -v -m 644 vsftpd.8 /usr/share/man/man8 && +install -v -m 644 vsftpd.conf.5 /usr/share/man/man5 && +install -v -m 644 vsftpd.conf /etc - + - -Command explanations + + Command Explanations -install -d [...]: This creates the directory that -anonymous users will use (/home/ftp) -and the directory the daemon will chroot into -(/var/ftp/empty). + install -v -d [...]: This creates the + directory that anonymous users will use (/home/ftp) + and the directory the daemon will chroot into + (/var/ftp/empty). -/home/ftp should not be -owned by the user vsftpd, or the user ftp. + + /home/ftp should not be + owned by the user vsftpd, + or the user ftp. + -echo "#define VSF_BUILD_TCPWRAPPERS" >>builddefs.h: -Use this prior to make to add support for -tcpwrappers. + : + Use this prior to make to add support for + tcpwrappers. -echo "#define VSF_BUILD_SSL" >>builddefs.h: -Use this prior to make to add support for -SSL. + : + Use this prior to make to add support for SSL. -install -m [...]: -The Makefile hardwires -/usr/local (if it exists). These -commands install the files in -/usr. + : + The Makefile hardwires + /usr/local (if it exists). These + commands install the files in + /usr. - + - -Configuring <application>vs<acronym>FTP</acronym>D</application> + + Configuring vsFTPD -vsftpd init.d script -Install the /etc/rc.d/init.d/vsftpd -init script included in the - package. + + Config Files -make install-vsftpd + /etc/vsftpd.conf - + + /etc/vsftpd.conf + -Config files -/etc/vsftpd.conf - + -Configuration information -vsFTPD comes with a basic -anonymous-only configuration file that was copied to -/etc above. This file should be modified -because it is now recommended to run vsftpd in standalone -mode as opposed to inetd/xinetd mode. -Also, you should specify the privilege separation user created above. Finally, -you should specify the chroot directory. -man vsftpd.conf will give you all the details. + + Configuration Information -cat >> /etc/vsftpd.conf << "EOF" -background=YES + vsFTPD comes with a basic + anonymous-only configuration file that was copied to + /etc above. This file should be + modified because it is now recommended to run vsftpd + in standalone mode as opposed to + inetd/xinetd mode. Also, you + should specify the privilege separation user created above. Finally, + you should specify the chroot directory. + man vsftpd.conf will give you all the details. + +cat >> /etc/vsftpd.conf << "EOF" +background=YES listen=YES nopriv_user=vsftpd -secure_chroot_dir=/var/ftp/empty -EOF - +secure_chroot_dir=/var/ftp/empty +EOF - + - -Contents + + Boot Script -The vsFTPD package contains -vsftpd. + Install the /etc/rc.d/init.d/vsftpd + init script included in the + package. - +make install-vsftpd -Description + -vsftpd -vsftpd is the FTP -daemon. + - + + Contents + + + Installed Program + Installed Libraries + Installed Directories + + + vsftpd + None + Not determined at this time + + + + + Short Descriptions + + + + + vsftpd + + is the FTP daemon. + + vsftpd + + + + + + + -