|
VSFTP user directories
I have set up an ftp server using vsftpd. My problem is that the uses are chrooted into 1 directory. Even though they have separate home directories, they connect and go into one home directory not their individual directories.
Here is my config file:
anonymous_enable=NO
local_enable=YES
chroot_local_user=YES
write_enable=YES
local_umask=022
#anon_upload_enable=YES
#
#anon_mkdir_write_enable=YES
#
dirmessage_enable=YES
#.
xferlog_enable=YES
#
connect_from_port_20=YES
#chown_uploads=YES
#chown_username=whoever
#
#xferlog_file=/var/log/vsftpd.log
#
xferlog_std_format=YES
#
idle_session_timeout=300
#
#data_connection_timeout=120
#
nopriv_user=ftpsecure
#
#async_abor_enable=YES
#
#ascii_upload_enable=YES
#ascii_download_enable=YES
#
ftpd_banner=Welcome to Loan Protector's FTP.
#
#deny_email_enable=YES
# (default follows)
#banned_email_file=/etc/vsftpd.banned_emails
#
#chroot_list_enable=YES
#chroot_list_file=/etc/vsftpd.chroot_list
#
#ls_recurse_enable=YES
pam_service_name=vsftpd
userlist_enable=YES
#enable for standalone mode
listen=YES
In my chroot file i have the 2 users that i want chrooted even though its not selected.
Any ideas why they dont go into their own directory when connecting?
|