Validate a ProFTPD configuration without starting the server
Build a paste-ready command, then review its compatibility and effects before running it.
proftpd --configtest -c /etc/proftpd/proftpd.confread-onlyrequires privileges Compatibility
LinuxVerified for Linux using posix, bash, zsh syntax.
Operational knowledgereview due 2027-01-19
Requirementsproftpdproftpd must be installed and available on PATH.Elevated accessReview the exact scope before using an elevated account.
Version supportproftpd Current supported releasesVerified for linux using posix, bash, zsh syntax; consult compatibility notes for platform-specific differences.
Expected signalsChecking syntax of configuration fileRepresentative successful output; values vary with the selected target and system state.
Known errorsproftpd: command not foundproftpd is missing or is not available on PATH.Permission deniedThe current identity does not have the required access.
Verifyproftpd --configtest -c {{configFile}}The output matches the expected target and exits without an error.Rollback noteNo universal automatic rollback is available. Capture the current state and use the tool-specific recovery procedure before applying changes.
Command breakdown
01proftpdCommandRuns the proftpd stage of this one-liner.
02--configtestOptionChecks the configuration syntax and exits without starting the FTP server.
03-cOptionReads ProFTPD settings from the following configuration file.
04<configuration-file>ParameterA value supplied in the Fill parameters section.
Example input
proftpd --configtest -c /etc/proftpd/proftpd.conf
Example output
Checking syntax of configuration file
Syntax check complete.
Illustrative output — exact values vary by system and data.
Official sources
Related commands