Linux

Where Is the vsftpd Config File?

vsftpd reads vsftpd.conf in /etc with per user configs in user_config_dir when enabled.

Last updated

vsftpd configures from one file in /etc. The vsftpd.conf file sets listeners, anonymous access, TLS, and chroot policy. Per user overrides live in a directory the user_config_dir option names.

TLS certificates deserve their own folder with strict permissions referenced from the file. Test config changes with a fresh data connection, not just login. Passive port ranges need matching firewall rules.

Where vsftpd stores this, by platform

Linux
/etc/vsftpd.conf

Listeners, TLS, and chroot policy in one file. Per user files sit in the configured user_config_dir. Restart after edits.

Frequently asked questions

How do I enable TLS on vsftpd?

Point the cert options at full chain files and flip ssl_enable in vsftpd.conf. Passive ports need firewall openings. Test with explicit FTP over TLS first.

Why are users stuck in their home folders?

Chroot local user settings jail sessions by design. Per user overrides can relax single accounts. Keep anonymous jailed regardless.

Notice an outdated path? Let us know.