[BUG] ProFTPD

nemo

New member
Joined
Nov 3, 2013
Messages
1
After changing from pureftpd to proftpd, it looks like there is generated wrong proftpd.conf. It begins with:
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.
(...)

It is terrible poor.
Without:
AuthUserFile /etc/proftpd.passwd
or
DefaultRoot ~

I replaced this config with config from other server and now its ok. But I'm afraid the default config file for proftpd is broken.
 
Hmm.. the /etc/proftpd.conf should already exist, with the correct setup, even if proftpd isn't installed.
This happens at DA install time.

My guess, for this case, is that if the proftpd.conf was missing, the "make install" would have happily added the wrong proftpd.conf.
In any case, you can grab the DA version from:
/usr/local/directadmin/data/templates/proftpd.conf

copy it over, and replace the token:
|SERVER_IP|

with your server IP.

John
 
Back
Top