Page 1 of 1

install vsftpd

PostPosted: Sun Apr 18, 2010 8:10 am
by stephen
To Install vsftpd on a FreeBSD system

cd /usr/ports/ftp/vsftpd
make config
tick the RC_NG Install RC_NG script

make install


vi /usr/local/etc/vsftpd.conf
write_enable=YES
anonymous_enable=NO
local_enable=YES
listen=YES
background=YES

make clean

add vsftpd_enable="YES" to /etc/rc.conf
vi /etc/rc.conf
#
vsftpd_enable="YES"


If vsftpd daemon fails to start
1. check That this file exists /usr/local/etc/rc.d/vsftpd
2. check that when you type /usr/local/etc/rc.d/vsftpd start
you do not get an error eg
# /usr/local/etc/rc.d/vsftpd start
vsftpdStarting vsftpd ...
/usr/local/etc/rc.d/vsftpd: /usr/local/sbin/vsftpd: not found
#
3. If you get error /usr/local/sbin/vsftpd: not found
then
# ln -s /usr/local/libexec/vsftpd /usr/local/sbin/vsftpd