FreeBSD 5.3 – PureFTPD Install

Today i installed PureFTPd on FreeBSD 5.3 server.

cd /usr/ports/ftp/pure-ftpd
make install clean

It show a text based menu with options like LDAP, MySQL PAM, PGSQL, etc… Only PAM is checked by default.

I do not select anything other than the default PAM as i am not going to use them on this server. On this server, i will be the FTP only user, i only need the PAM. I will be login with insecure “root” account for FTP as i get full control when i FTP 🙂

Now the pureftpd got installed.

/usr/local/sbin/pure-authd
/usr/local/sbin/pure-ftpd

This port has installed the following startup scripts which may cause these network services to be started at boot time.

/usr/local/etc/rc.d/pure-ftpd.sh

With the pure-ftpd.sh in rc.d folder, pureftpd will auto start on system boot.

I tried

/usr/local/etc/rc.d/pure-ftpd.sh start

But FTP server doesn’t start. May be it need a reboot before start working.

/usr/local/sbin/pure-ftpd &

Worked fine. i found i need to

#
# Add the following lines to /etc/rc.conf to enable pure-ftpd:
#
# pureftpd_enable=”YES”
#

But i decided not to do that now as why should i run FTP on a server that only i will use ? For now, i will login to server and enable FTP when i need to use FTP.


Posted in Uncategorized. Bookmark the permalink.