5

I have installed pure-ftp server but i had problems logging into it with virtual users. I managed to diagnose the problem: it's the incomplete default parameter specification. This is how the script starts by default at startup:

Starting ftp server: Running: /usr/sbin/pure-ftpd -l pam -u 1000 -8 UTF-8 -E -O clf:/var/log/pure-ftpd/transfer.log -B

but that's not good because -l is not specified. This is the correct form to start it:

pure-ftpd -l puredb:/etc/pure-ftpd/pureftpd.pdb

So, the q is: How to change the startup param definition for pure-ftpd?

alex
  • 621

1 Answers1

6

Most services allow you to change startup params in /etc/default/NAME. If not, you'll have to edit /etc/init.d/NAME (or /etc/init/NAME.conf for Upstart scripts). Do not forget to restart the service, that's not automatically done for you.

Lekensteyn
  • 178,446