pure-ftpd passive port range for Ubuntu:
echo "40110 40210" > /etc/pure-ftpd/conf/PassivePortRange
service pure-ftpd restart
/etc/pure-ftpd/conf/PassivePortRange service pure-ftpd restart" /> /etc/pure-ftpd/conf/PassivePortRange service pure-ftpd restart" />
pure-ftpd passive port range for Ubuntu:
echo "40110 40210" > /etc/pure-ftpd/conf/PassivePortRange
service pure-ftpd restart
#PureDB @sysconfigdir@/pureftpd.pdb
PureDB /etc/pure-ftpd/pureftpd.pdb
cat /etc/pure-ftpd/conf/MinUID
systemd[1]: Can’t open PID file /var/run/pure-ftpd.pid (yet?) after start: Too many levels of symbolic links
systemd[1]: pure-ftpd.service start operation timed out. Terminating.
systemd[1]: Failed to start Pure-FTPd FTP server.
systemd[1]: Unit pure-ftpd.service entered failed state.
systemd[1]: pure-ftpd.service failed.
vi /usr/lib/systemd/system/pure-ftpd.service
[Service]
Type=forking
#PIDFile=/var/run/pure-ftpd.pid
PIDFile=/run/pure-ftpd.pid
ExecStart=/usr/sbin/pure-config.pl /etc/pure-ftpd/pure-ftpd.conf –daemonize
systemctl daemon-reload
systemctl start pure-ftpd
openssl dhparam -out /etc/ssl/private/pure-ftpd-dhparams.pem 3072
Generating DH parameters, 3072 bit long safe prime, generator 2
This is going to take a long time
/scripts/restartsrv_pureftpd
service pure-ftpd status
systemd[1]: Started Pure-FTPd.
pure-pw list
pure-pw passwd some_ftp_username
pure-pw mkdb
You should install pure-ftpd
yum install pure-ftpd
If you are using Fedora also pure-ftpd-selinux
mkdir /webs/web1/public_html
chown web1:web1 /webs/web1/public_html
pure-pw useradd web1_ftp -u web1 -g web1 -d /webs/web1/public_html
pure-pw mkdb
pure-pw list
web1_ftp is your virtual user name
You should remember enable: PureDB /etc/pure-ftpd/pureftpd.pdb in your pure-ftpd main configuration file and disable anonymous access: NoAnonymous yes