Currently there is a lack of good documentation about how to configure pure-ftpd in Debian and Ubuntu. It’s easy to find information about the command-line flags for pure-ftpd but in Debian you are supposed to use files in the /etc/pure-ftpd/conf directory. Information about what filenames to use and what they should contain is hard to find, so here is a list that translates the command-line flag to filenames.
Not all files requires a contents, it’s sufficient if you just “touch” it. See the pure-ftpd documentation for details about the flag values.
| Flag | Filename | Value |
|---|---|---|
| -W | AllowAnonymousFXP | |
| -z | AllowDotFiles | |
| -w | AllowUserFXP | |
| -O %s | AltLog | string |
| -t %s | AnonymousBandwidth | range |
| -M | AnonymousCanCreateDirs | |
| -i | AnonymousCantUpload | |
| -e | AnonymousOnly | |
| -q %d:%d | AnonymousRatio | range |
| -s | AntiWarez | |
| -r | AutoRename | |
| -S %s | Bind | string |
| -b | BrokenClientsCompatibility | |
| -o | CallUploadScript | |
| -A | ChrootEveryone | |
| -j | CreateHomeDir | |
| -Z | CustomerProof | |
| -B | Daemonize | |
| -D | DisplayDotFiles | |
| -H | DontResolve | |
| -P %s | ForcePassiveIP | IP-number |
| -F %s | FortunesFile | string |
| -4 | IPV4Only | |
| -6 | IPV6Only | |
| -K | KeepAllFiles | |
| -L %d:%d | LimitRecursion | range |
| -1 | LogPID | |
| -c %d | MaxClientsNumber | |
| -C %d | MaxClientsPerIP | integer |
| -k %d | MaxDiskUsage | integer |
| -I %d | MaxIdleTime | integer |
| -m %d | MaxLoad | integer |
| -u %d | MinUID | integer |
| -N | NATmode | |
| -E | NoAnonymous | |
| -R | NoChmod | |
| -G | NoRename | |
| -0 | NoTruncate | |
| -p %d:%d | PassivePortRange | range |
| -y %d:%d | PerUserLimits | range |
| -X | ProhibitDotFilesRead | |
| -x | ProhibitDotFilesWrite | |
| -n %d:%d | Quota | range |
| -f %s | SyslogFacility | string |
| -Y %d | TLS | integer |
| -a %d | TrustedGID | integer |
| -V %s | TrustedIP | IP-number |
| -U %s:%s | Umask | file:dir |
| -T %s | UserBandwidth | range |
| -Q %d:%d | UserRatio | range |
| -d | VerboseLog |
There is a bugreport for this problem so hopefully it will be fixed in the future.