vsftp user login and anon upload problems
Poohba
poohba at blkpoohba.dyndns.org
Wed Sep 8 17:37:16 UTC 2004
I can login via IE but it doesn't list the pub dir. I can login via
telnet and ls and it will show the pub dir. I cannot log in as user
from telnet or IE.
ftp> mkdir test
550 Operation prohibited for anonymous users.
530 Must perform authentication before identifying USER.
Login failed.
$la -R /var/ftp
/var/ftp:
total 12K
dr-xr-xr-x 3 root root 4.0K May 25 16:37 .
drwxr-xr-x 27 root root 4.0K Jul 25 11:15 ..
dr-xr-xr-x 3 root root 4.0K Sep 8 13:17 pub
/var/ftp/pub:
total 12K
dr-xr-xr-x 3 root root 4.0K Sep 8 13:17 .
dr-xr-xr-x 3 root root 4.0K May 25 16:37 ..
drwx-wx--- 2 root root 4.0K Sep 8 13:17 upload
/var/ftp/pub/upload:
total 8.0K
drwx-wx--- 2 root root 4.0K Sep 8 13:17 .
dr-xr-xr-x 3 root root 4.0K Sep 8 13:17 ..
/etc/xinetd.d/vsftpd
# default: on
# description:
# The vsftpd FTP server serves FTP connections. It uses
# normal, unencrypted usernames and passwords for authentication.
# vsftpd is designed to be secure.
service ftp
{
socket_type = stream
wait = no
user = nobody
server = /usr/local/sbin/vsftpd
# server_args =
# log_on_success += DURATION USERID
# log_on_failure += USERID
nice = 10
disable = no
}
/etc/vsftpd/vsftpd.conf
# Access rights
write_enable=YES
anonymous_enable=YES
local_enable=YES
anon_upload_enable=YES
anon_mkdir_write_enable=YES
anon_other_write_enable=NO
chroot_local_user=YES
# Security
anon_world_readable_only=YES
connect_from_port_20=YES
hide_ids=NO
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
dual_log_enable=YES
More information about the fedora-list
mailing list