Skip to content

proftpd.conf

Calin Crisan edited this page Feb 2, 2019 · 4 revisions

File Location And Role

The file lives at /etc/proftpd.conf. It is not present by default and should be created by the user, if proftpd is needed.

If the file is present, the proftpd daemon will be started to make your system act as an FTP server.

Note that proftpd package is not enabled by default in thingOS. You'll need to enable it in your configurations to have this functionality.

File Format

Here is the documentation on how to configure ProFTPd.

Example

Following is a simple example of a proftpd configuration that will enable a simple FTP server that allows only reading and includes user configuration files present at /data/etc/proftpd*.conf:

ServerIdent off
ServerType standalone
DefaultServer on
Port 21
UseIPv6 off
Umask 022
MaxInstances 4
User ftp
Group nogroup
DefaultRoot /home/ftp
AllowOverwrite on
RequireValidShell off
UseFtpUsers off
RootLogin on

<Limit SITE_CHMOD>
 DenyAll
</Limit>

<Limit WRITE>
 DenyAll
</Limit>

Include /data/etc/proftpd*.conf
Clone this wiki locally