Changeset 1586494 for content/web/vsftpd.xml
- Timestamp:
- 12/22/2004 01:00:40 AM (19 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- dc94017e
- Parents:
- ce4eef0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
content/web/vsftpd.xml
rce4eef0 r1586494 9 9 <!ENTITY vsftpd-size "148 KB"> 10 10 <!ENTITY vsftpd-buildsize "492 KB"> 11 <!ENTITY vsftpd-time "0.0 SBU">11 <!ENTITY vsftpd-time "0.01 SBU"> 12 12 ]> 13 13 … … 18 18 </sect1info> 19 19 <?dbhtml filename="vsftpd.html"?> 20 <title> vsFTPD-&vsftpd-version;</title>20 <title><application>vs<acronym>FTP</acronym>D</application>-&vsftpd-version;</title> 21 21 22 22 <sect2> 23 <title>Introduction to vsFTPD</title> 23 <title>Introduction to 24 <application>vs<acronym>FTP</acronym>D</application></title> 24 25 25 <para>The <application>vsFTPD</application> package contains a very secure and 26 very small FTP daemon. This is useful for serving files over a network.</para> 26 <para>The <application>vs<acronym>FTP</acronym>D</application> package 27 contains a very secure and very small <acronym>FTP</acronym> daemon. This is 28 useful for serving files over a network.</para> 27 29 28 30 <sect3><title>Package information</title> 29 31 <itemizedlist spacing='compact'> 30 <listitem><para>Download (HTTP):<ulink url="&vsftpd-download-http;"/></para></listitem> 31 <listitem><para>Download (FTP): <ulink url="&vsftpd-download-ftp;"/></para></listitem> 32 <listitem><para>Download (HTTP): 33 <ulink url="&vsftpd-download-http;"/></para></listitem> 34 <listitem><para>Download (FTP): 35 <ulink url="&vsftpd-download-ftp;"/></para></listitem> 32 36 <listitem><para>Download size: &vsftpd-size;</para></listitem> 33 <listitem><para>Estimated Disk space required: &vsftpd-buildsize;</para></listitem> 34 <listitem><para>Estimated build time: &vsftpd-time;</para></listitem></itemizedlist> 37 <listitem><para>Estimated disk space required: 38 &vsftpd-buildsize;</para></listitem> 39 <listitem><para>Estimated build time: 40 &vsftpd-time;</para></listitem></itemizedlist> 35 41 </sect3> 36 42 … … 39 45 <para><xref linkend="Linux_PAM"/>, 40 46 <xref linkend="openssl"/>, and 41 <xref linkend="tcpwrappers"/></para></sect4> 47 <xref linkend="tcpwrappers"/></para> 48 </sect4> 42 49 </sect3> 43 50 … … 47 54 <title>Installation of <application>vsFTPD</application></title> 48 55 49 <para>For security reasons, running <application>vsFTPD</application> as an 50 unprivileged user and group is encouraged. Also, we need a user to map 51 anonymous users to.</para> 56 <para>For security reasons, running 57 <application>vs<acronym>FTP</acronym>D</application> as an unprivileged user 58 and group is encouraged. Also, a user to map anonymous users to should be 59 created.</para> 52 60 53 61 <screen><userinput><command>install -d -m 0755 /var/ftp/empty && 54 62 install -d -m 0755 /home/ftp && 55 63 groupadd vsftpd && 56 useradd -d /dev/null - g vsftpd -s /bin/false vsftpd &&64 useradd -d /dev/null -c "vsFTPD User" -g vsftpd -s /bin/false vsftpd && 57 65 groupadd ftp && 58 66 useradd -c anonymous_user -d /home/ftp -g ftp -s /bin/false ftp</command> 59 67 </userinput></screen> 60 68 61 <para>Install <application>vsFTPD</application> by running the following commands:</para> 69 <para>Install <application>vs<acronym>FTP</acronym>D</application> by running 70 the following commands:</para> 62 71 63 72 <screen><userinput><command>make && … … 65 74 install -m 644 vsftpd.8 /usr/share/man/man8 && 66 75 install -m 644 vsftpd.conf.5 /usr/share/man/man5 && 67 install -m 644 vsftpd.conf /etc 68 </command></userinput></screen> 76 install -m 644 vsftpd.conf /etc</command></userinput></screen> 69 77 70 78 </sect2> … … 74 82 75 83 <para><parameter>install -d [...]</parameter>: This creates the directory that 76 anonymous users will use (/home/ftp) and the directory the daemon will chroot 77 into (/var/ftp/empty).</para> 84 anonymous users will use (<filename class='directory'>/home/ftp</filename>) 85 and the directory the daemon will chroot into 86 (<filename class='directory'>/var/ftp/empty</filename>).</para> 78 87 79 88 <note><para><filename class="directory">/home/ftp</filename> should not be … … 81 90 82 91 <para><parameter>echo "#define VSF_BUILD_TCPWRAPPERS" >>builddefs.h</parameter>: 83 Use this prior to make to add support for tcpwrappers.</para> 92 Use this prior to <command>make</command> to add support for 93 <application>tcpwrappers</application>.</para> 84 94 85 95 <para><parameter>echo "#define VSF_BUILD_SSL" >>builddefs.h</parameter>: 86 Use this prior to make to add support for SSL.</para> 96 Use this prior to <command>make</command> to add support for 97 <acronym>SSL</acronym>.</para> 87 98 88 99 <para><parameter>install -m [...]</parameter>: 89 The Makefile hardwires /usr/local (if it exists). We want the files in /usr.</para> 100 The <filename>Makefile</filename> hardwires 101 <filename class='directory'>/usr/local</filename> (if it exists). These 102 commands install the files in 103 <filename class='directory'>/usr</filename>.</para> 90 104 91 105 </sect2> 92 106 93 107 <sect2> 94 <title>Configuring <application>vs FTPD</application></title>108 <title>Configuring <application>vs<acronym>FTP</acronym>D</application></title> 95 109 96 110 <sect3><title>vsftpd init.d script</title> 97 111 <para>Install the <filename>/etc/rc.d/init.d/vsftpd</filename> 98 init script included in the <xref linkend="intro-important-bootscripts"/> package.</para> 99 112 init script included in the 113 <xref linkend="intro-important-bootscripts"/> package.</para> 114 100 115 <screen><userinput><command>make install-vsftpd</command></userinput></screen> 101 116 … … 103 118 104 119 <sect3><title>Config files</title> 120 <para><filename>/etc/vsftpd.conf</filename></para> 121 </sect3> 105 122 106 <para><filename>/etc/vsftpd.conf</filename></para> <para>vsFTPD comes with a 107 basic anonymous-only configuration file that was copied to /etc above. We will 108 modify this file because it is now recommended to run vsFTPD in standalone mode 109 as opposed to inetd/xinetd mode. Also, we need to specify the priviledge 110 separation user we created above. Finally, we need to specify the chroot 111 directory. <command>man vsftpd.conf</command> will give you all the 112 details.</para> 123 <sect3><title>Configuration information</title> 124 <para><application>vs<acronym>FTP</acronym>D</application> comes with a basic 125 anonymous-only configuration file that was copied to 126 <filename class='directory'>/etc</filename> above. This file should be modified 127 because it is now recommended to run <command>vsftpd</command> in standalone 128 mode as opposed to <command>inetd</command>/<command>xinetd</command> mode. 129 Also, you should specify the privilege separation user created above. Finally, 130 you should specify the <command>chroot</command> directory. 131 <command>man vsftpd.conf</command> will give you all the details.</para> 113 132 114 133 <screen><userinput><command>cat >> /etc/vsftpd.conf << "EOF"</command> … … 117 136 nopriv_user=vsftpd 118 137 secure_chroot_dir=/var/ftp/empty 119 <command>EOF</command></userinput></screen></sect3> 138 <command>EOF</command></userinput></screen> 139 </sect3> 120 140 121 141 </sect2> … … 124 144 <title>Contents</title> 125 145 126 <para>The <application>vs FTPD</application> package contains146 <para>The <application>vs<acronym>FTP</acronym>D</application> package contains 127 147 <command>vsftpd</command>.</para> 128 148 … … 132 152 133 153 <sect3><title>vsftpd</title> 134 <para><command>vsftpd</command> is the daemon itself.</para></sect3> 154 <para><command>vsftpd</command> is the <acronym>FTP</acronym> 155 daemon.</para></sect3> 135 156 136 157 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.