Kali Linux install PureFTPD

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

Install

apt-get install pure-ftp

Create a basic setup script

nano ftp-setup.sh
#!/bin/bash
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
./ftp-setup.sh

Leave a Reply