Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 10th April 2008, 07:13
gluki gluki is offline
Junior Member
 
Join Date: Mar 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default vsftpd mysql & ispconfig



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 ???
Reply With Quote
Sponsored Links
  #2  
Old 10th April 2008, 11:42
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,022
Thanks: 840
Thanked 5,654 Times in 4,463 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 7th March 2011, 03: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
The Following User Says Thank You to diverbelow For This Useful Post:
falko (7th March 2011)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Where do I change the ispconfig - mysql password. begmarz Installation/Configuration 3 25th June 2010 17:13
ISPconfig after installation cannot reach www.xyz.de:81 Figth4Linux Installation/Configuration 23 6th March 2008 23:38
ISPConfig 2.3.2-dev released till General 9 4th June 2007 11:46
ISPConfig vs mysql 5 update Dy0nisus Installation/Configuration 9 29th May 2007 12:03
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 16:16


All times are GMT +2. The time now is 22:53.


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