HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   vsftpd mysql & ispconfig (http://www.howtoforge.com/forums/showthread.php?t=22186)

gluki 10th April 2008 06:13

vsftpd mysql & ispconfig
 
:confused:

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 ???? :confused:
ispconfig not creating users in mysql so where the file must be and what i need to change in vsftp.conf ???

till 10th April 2008 10:42

You can not use vsftpd virtual users with ISPConfig, as ISPConfig does not support virtual users.

Reconfigure your vsftpd to authenticate against /etc/password and /etc/shadow and everything will work with ISPConfig.

Please have a look at the perfect setup guide for your linux distribution to get a setup that is compatible with ISPConfig.

diverbelow 7th March 2011 02:17

Quote:

Originally Posted by gluki (Post 118412)
:confused:

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 ???? :confused:
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.


All times are GMT +2. The time now is 14:18.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.