been working on vsftpd for a couple of days, just wanted to know your thoughts on the config file
I wanted to have a public ftp for some fishing videos for anonymous users but not have write access or upload access or cruise the file system for anonymous, but I did want local access and write access for local only.
if i was going to update a CMS site that ask for FTP to update php pages would it be able to login using my details
I see the FTP in my browser for anonymous OK, but I cant log in via local
I get
Quote:
Authentication failed.
Connection failed.
This FTP server is anonymous only
|
If I change local_enable=NO to local_enable=YES
I get
Quote:
Disconnected from server
Connection failed.
OOPS: vsftpd: security: 'one_process_model' is anonymous only
|
I would also like a user to be able to lock him/her to their home/user/public_html folder
This is my vsftpd.config file so far.
Code:
# Standalone mode
listen=YES
max_clients=200
max_per_ip=4
# Access rights
anonymous_enable=YES
local_enable=YES
write_enable=NO
anon_upload_enable=NO
anon_mkdir_write_enable=NO
anon_other_write_enable=NO
# Security
anon_world_readable_only=YES
connect_from_port_20=YES
hide_ids=YES
pasv_min_port=50000
pasv_max_port=60000
# Features
xferlog_enable=YES
ls_recurse_enable=NO
ascii_download_enable=NO
async_abor_enable=YES
# Performance
one_process_model=YES
idle_session_timeout=120
data_connection_timeout=300
accept_timeout=60
connect_timeout=60
anon_max_rate=50000