forums.meulie.net

VSFTPD Virtual User Help

Hello,

I am new to Linux and to VSFTP. I have a server setup with CentOS 4 and VSFTPD 2.0.3. I have configured the site with PAM and I can login with the virutal users. This site is for file movement for our company. I need the virtual users to be able to upload files. Right now it gives a permission denied error when anyone tries to upload files. Here is my vsftpd.conf:

base configuration

anonymous_enable=NO
chroot_local_user=YES
guest_enable=YES
guest_username=ftp
hide_ids=YES
local_enable=YES
max_clients=200
max_per_ip=5
nopriv_user=ftp
pam_service_name=ftp
pasv_max_port=65535
pasv_min_port=64000
session_support=NO
use_localtime=YES
user_config_dir=/etc/vsftpd/users
userlist_enable=YES
userlist_file=/etc/vsftpd/denied_users
virtual_use_local_privs=YES
xferlog_enable=YES

ftp settings

async_abor_enable=YES
connect_from_port_20=YES
dirlist_enable=NO
download_enable=NO
ftpd_banner=Welcome our FTP Site.
local_umask=022

Then I have individual user config files. Here is an example:

dirlist_enable=YES
download_enable=YES
local_root=/home/user
write_enable=YES
local_umask=022

When I login as the user using IE 6 it says permission denied. How can I get this configured so users that I create in PAM can upload and modify files on the FTP server? Please help! 8)

a bit late but I found that vsftpd sucks when you want to use virtual users that need to be locked in their homedir, go with pureftpd or proftpd