A very quick and dirty guide to installing Pure FTPd on kali linux


apt-get install pure-ftp

Create a basic setup script

nano ftp-setup.sh
groupadd ftpgroup
useradd -g ftpgroup -d /dev/null -s /etc ftpuser
pure-pw useradd ftpuser -u ftpuser -d /ftphome
pure-pw mkdb
cd /etc/pure-ftpd/auth/
ln -s ../conf/PureDB 60pdb
mkdir -p /ftphome
chown -R ftpuser:ftpgroup /ftphome/
/etc/init.d/pure-ftpd restart

Make script executable and execute

chmod 777 ftp-setup.sh

Leave a Reply

Your email address will not be published. Required fields are marked *