Re: [Proftpd-user] ProFTPd - virtual users + single ftp location
"TJ Saunders" <[email protected]> Sat, 16 Aug 2025 08:25:22 -0700
| Newsgroups | gmane.network.proftpd.user |
|---|---|
| Message-ID | <[email protected]> |
> Corrected the config file to this: > > DefaultRoot /srv/ftp > RequireValidShell off > AuthPAM off > AuthUserFile /etc/proftpd/ftpd.passwd > AuthGroupFile /etc/proftpd/ftpd.group > >> Here, you are creating an AuthUserFile, using the `ftpassswd` utility, located at '/etc/proftpd/conf.d/ftpd.passwd'. However, above you have configured AuthUserFile to point to '/etc/proftpd/ftpd.passwd', which is a different path. Which is correct? > Good catch! I found duplicates. Now I have deleted the ftpd.passwd and > ftpd.group files inside /etc/proftpd. I will only be using the > ftpd.passwd and ftpd.group inside /etc/proftpd/conf.d Hmm. I would recommend keeping '/etc/proftpd/ftpd.passwd' and '/etc/proftpd/ftpd.group', to match your configuration: AuthUserFile /etc/proftpd/ftpd.passwd AuthGroupFile /etc/proftpd/ftpd.group and removing the copies in '/etc/proftpd/conf.d/'. Why? Because of this line, at the bottom of the default '/etc/proftpd/proftpd.conf' file installed by the "proftpd-core" package: # Include other custom configuration files # !! Please note, that this statement will read /all/ file from this subdir, # i.e. backup files created by your editor, too !!! # Eventually create file patterns like this: /etc/proftpd/conf.d/*.conf # Include /etc/proftpd/conf.d/ I suspect that this Include -- which says to read all files in '/etc/proftpd/conf.d/' as if they each contained more ProFTPD configuration directives -- is the source of this reported behavior: > Starting up gives me the following errors:"fatal: unknown configuration > directive" followed by the first line in the virtual users password file > (/etc/proftpd/ftpd.passwd). Hope this helps, TJ _______________________________________________ ProFTPD Users List <[email protected]> Unsubscribe problems? http://www.proftpd.org/list-unsub.html