vsftpd mysql & ispconfig

Discussion in 'General' started by gluki, Apr 10, 2008.

  1. gluki

    gluki New Member

    :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 ???
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  3. diverbelow

    diverbelow New Member

    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.
     

Share This Page