source: content/web/proftpd/proftpd-config.xml@ 65df9fca

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 v5_1 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 65df9fca was 65df9fca, checked in by Larry Lawrence <larry@…>, 20 years ago

grammar corrections

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2252 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 2.7 KB
Line 
1<sect2>
2<title>Configuring <application>ProFTPD</application></title>
3
4<sect3><title>proftpd init.d script</title>
5<para>Install the <filename>/etc/rc.d/init.d/proftpd</filename>
6init script included in the <xref linkend="intro-important-bootscripts"/> package.</para>
7
8<screen><userinput><command>make install-proftpd</command></userinput></screen>
9
10</sect3>
11
12<sect3><title>Config files</title>
13
14<para><filename>/etc/proftpd.conf</filename></para>
15<para>This is a simple, download-only sample configuration. See the ProFTPD
16documentation in <filename class="directory">/usr/share/doc/proftpd</filename>
17and consult the website at <ulink url="http://www.proftpd.org/"/>
18 for example configurations.</para>
19
20<screen><userinput><command>cat &gt; /etc/proftpd.conf &lt;&lt; "EOF"</command>
21# This is a basic ProFTPD configuration file
22# It establishes a single server and a single anonymous login.
23
24ServerName "ProFTPD Default Installation"
25ServerType standalone
26DefaultServer on
27
28# Port 21 is the standard FTP port.
29Port 21
30# Umask 022 is a good standard umask to prevent new dirs and files
31# from being group and world writable.
32Umask 022
33
34# To prevent DoS attacks, set the maximum number of child processes
35# to 30. If you need to allow more than 30 concurrent connections
36# at once, simply increase this value. Note that this ONLY works
37# in standalone mode, in inetd mode you should use an inetd server
38# that allows you to limit maximum number of processes per service
39# (such as xinetd)
40MaxInstances 30
41
42# Set the user and group that the server normally runs at.
43User proftpd
44Group proftpd
45
46# Normally, we want files to be overwritable.
47&lt;Directory /*&gt;
48 AllowOverwrite on
49&lt;/Directory&gt;
50
51# A basic anonymous configuration, no upload directories.
52&lt;Anonymous ~proftpd&gt;
53 User proftpd
54 Group proftpd
55 # We want clients to be able to login with "anonymous" as well as "proftpd"
56 UserAlias anonymous proftpd
57
58 # Limit the maximum number of anonymous logins
59 MaxClients 10
60
61 # We want 'welcome.msg' displayed at login, and '.message' displayed
62 # in each newly chdired directory.
63 DisplayLogin welcome.msg
64 DisplayFirstChdir .message
65
66 # Limit WRITE everywhere in the anonymous chroot
67 &lt;Limit WRITE&gt;
68 DenyAll
69 &lt;/Limit&gt;
70&lt;/Anonymous&gt;
71<command>EOF</command></userinput></screen></sect3>
72
73
74</sect2>
Note: See TracBrowser for help on using the repository browser.