PURE-FTPD-WRAPPER(8)

πŸ’– PURE-FTPD-WRAPPER(8) πŸ’–

okay bestie, so this is the pure-ftpd-wrapper page from the Debian GNU/Linux Documentation section 8 β€” yes, the big-girl system administration section, she's giving main character energy fr fr πŸ‘‘


✨ NAME ✨

pure-ftpd-wrapper β€” configures and starts the Pure-FTPd daemon 🌸


πŸŽ€ SYNOPSIS πŸŽ€

pure-ftpd-wrapper

that's it. that's the whole synopsis. no args, no flags, just vibes πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

So pure-ftpd-wrapper is the little bestie that reads your Pure-FTPd daemon config from the files sitting in the directory /etc/pure-ftpd/conf. Every single file in there maps to one command line option β€” one file, one option, that's the rule πŸ’–. And listen: no more than one line with configuration values is allowed per file. Empty lines? Discarded. Lines starting with the comment character #? Also discarded. bye πŸ‘‹

Now here's the cute part ✨ β€” the Pure-FTPd daemon lets you use different authentication methods together, and it tries them in the order they're specified on the command line. To get that same flexibility out of plain files, pure-ftpd-wrapper checks all the valid symbolic links inside the directory /etc/pure-ftpd/auth β€” in alphabetical order (iconic, organized, we love her) πŸŽ€.

So like, a link in that directory pointing to /etc/pure-ftpd/conf/PureDB would enable authentication against a PureDB database. iykyk 🫢

lowkey important: there are no means to configure the PIDFile setting. It's hardwired to /var/run/pure-ftpd/pure-ftpd.pid in this script. periodt. πŸ’€

Wanna see the actual Pure-FTPd commandline options? You can display them with -s or --show-options:

pure-ftpd-wrapper --show-options

obsessed with a good debug flag honestly 😭


🌈 CONFIGURATION 🌈

πŸ“ Boolean values πŸ“

The strings "Yes", 1, "On" enable the corresponding commandline option β€” and case doesn't matter, so go feral with your capitalization bestie πŸ™ˆ. To disable the option use "No", 0 or "Off".

The configuration files that contain boolean values are:

  • "AllowAnonymousFXP"
  • "AllowDotFiles"
  • "AllowUserFXP"
  • "AnonymousCanCreateDirs"
  • "AnonymousCantUpload"
  • "AnonymousOnly"
  • "AntiWarez"
  • "AutoRename"
  • "BrokenClientsCompatibility"
  • "CallUploadScript"
  • "ChrootEveryone"
  • "CreateHomeDir"
  • "CustomerProof"
  • "Daemonize"
  • "DisplayDotFiles"
  • "DontResolve"
  • "IPV4Only"
  • "IPV6Only"
  • "KeepAllFiles"
  • "LogPID"
  • "NATmode"
  • "NoAnonymous"
  • "NoChmod"
  • "NoRename"
  • "NoTruncate"
  • "PAMAuthentication"
  • "ProhibitDotFilesRead"
  • "ProhibitDotFilesWrite"
  • "UnixAuthentication"
  • "VerboseLog"

πŸ”’ Numerical values πŸ”’

There are several types of numerical values, and they are: one number, two numbers, one or two numbers, and two octal numbers. pick your fighter πŸ’…

One number

  • "MaxClientsNumber"
  • "MaxClientsPerIP"
  • "MaxDiskUsage"
  • "MaxIdleTime"
  • "MaxLoad"
  • "MinUID"
  • "TLS"
  • "TrustedGID"

Two numbers

  • "AnonymousRatio"
  • "LimitRecursion"
  • "PassivePortRange"
  • "PerUserLimits"
  • "Quota"
  • "UserRatio"

Two numbers (with unlimited value) ✨

This one is extra special because it allows -1 in addition to positive numbers β€” and -1 means an unlimited value. go big or go home 🫢

  • "LimitRecursion"

One or two numbers

  • "AnonymousBandwidth"
  • "UserBandwidth"

Two octal numbers

  • "Umask"

🌸 String values 🌸

Arbitrary strings

  • "AltLog"
  • "Bind"
  • "ForcePassiveIP"

(yes, the original page spells it "Arbritrary" β€” we're keeping her exactly as she is, no editing the queen πŸ’–)

Words

  • "SyslogFacility"

🧚 Character Sets 🧚

  • "FSCharset"
  • "ClientCharset"
⚠️ heads up bestie: these options were removed from PureFTPd in release 1.0.48 and will be ignored by the wrapper. not deprecated, just straight up gone 😭

πŸ’œ IP values πŸ’œ

  • "TrustedIP"

πŸ‘‘ File values πŸ‘‘

These values designate an existing file or socket β€” so like, it has to actually exist, no manifesting ✨

File

  • "FortunesFile"
  • "LDAPConfigFile"
  • "MySQLConfigFile"
  • "PGSQLConfigFile"
  • "PureDB"

Socket

  • "ExtAuth"

πŸ’Œ AUTHOR πŸ’Œ

This manual page was written by Stefan Hornburg (Racke) <racke@linuxia.de> for the Debian GNU/Linux system. absolute legend, we stan a documentation king πŸ«ΆπŸ‘‘


and that's the whole page babes 🌈 this one shipped with Debian GNU/Linux bookworm/sid, dated 2022-01-31, and it's still giving PURE-FTPD-WRAPPER(8) energy. go configure something slay πŸ’…πŸ’–

πŸ“¦ where this page comes from