Your comments
There is a problem with my procedure. The script <SCRIPT_NAME> should start every time you save a configuration in Website->FTP because Ajenti V seems to save the /etc/pure-ftpd/pure-ftpd.conf every time you save a credential, losing the configuration of PassivePortRange...
10 years ago
Hi,
I tried your method but without success and I don't think modify Ajenti V files is a good practice, because if you update Ajenti V you risk to lose your changes.
I solved in this way:
I tried your method but without success and I don't think modify Ajenti V files is a good practice, because if you update Ajenti V you risk to lose your changes.
I solved in this way:
- created a script with name <SCRIPT_NAME> here: /etc/init.d/
- inside <SCRIPT_NAME> put this command:
- echo "PassivePortRange 30000 35000" >> /etc/pure-ftpd/pure-ftpd.conf
- service pure-ftpd restart
- type this command: chmod 700 <SCRIPT_NAME>
- type this command: ln -s /etc/init.d/XXXX /etc/rc.d/
- reboot
Customer support service by UserEcho