View Single Post
  #3  
Old 7th March 2011, 02:17
diverbelow diverbelow is offline
Junior Member
 
Join Date: Oct 2010
Posts: 4
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by gluki View Post


I have vsftpd installed with mysql virtual users and ispconfig 2 things working - but as 2 independed modules.

vsftpd with users not created by ispconfig and ispconfig without ftp support.

in ispconfig i'm setting vsftp and vsftp.conf in FTP settings
in vsftpd.conf all settings from howto http://www.howtoforge.com/vsftpd_mysql_debian_etch_p2

where is integration ????
ispconfig not creating users in mysql so where the file must be and what i need to change in vsftp.conf ???
Earlier today, I installed plain vsftpd and I was able to ftp but got request denied when trying to create or upload a file.

Thank you for providing that link. I wanted to pass along what I did to get vsftpd working in ISPConfig 2. I followed all the steps in that link and I did not want to recreate my users information in vsftpd database.

Here is what I did to get it vsftpd working and able to upload using vsftpd:
Step 1: already setup from Ubuntu perfect server 10.04
Step 2: apt-get install vsftpd libpam-mysql NOTE: I already had mysql server and client installed
Step 3: already setup from Ubuntu perfect server 10.04
Step 4: did not do the useradd vsftpd but I did copy the following:
/etc/vsftpd.conf
listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
chroot_local_user=YES
secure_chroot_dir=/var/run/vsftpd
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/certs/vsftpd.pem
virtual_use_local_privs=YES
user_config_dir=/etc/vsftpd_user_conf

Step 5: did not do cp /etc/pam.d/vsftpd /etc/pam.d/vsftpd_orig and I vsftpd restart


Once again, thank you for the link.
Reply With Quote