用ports安装vsftpd
修改配置文件:/usr/local/etc/vsftpd.conf
local_enable=yes
write_enable=yes
chroot_local_user=yes
ftp_username=nobody
修改inetd配置文件:/etc/inetd.conf
ftp stream tcp nowait root /usr/local/libexec/vsftpd vsftpd
重启inetd:
killall inetd
/usr/sbin/inetd -wW
修改配置文件:/usr/local/etc/vsftpd.conf
local_enable=yes
write_enable=yes
chroot_local_user=yes
ftp_username=nobody
修改inetd配置文件:/etc/inetd.conf
ftp stream tcp nowait root /usr/local/libexec/vsftpd vsftpd
重启inetd:
killall inetd
/usr/sbin/inetd -wW