vsFTPd anonymous einrichten

Bossss

Registered User
Hab einen Server von S4Y wo am Anfang anonymous_enable=No war. Ich wollte jetzt aber einen Zugang für downloads machen. Hab anonymous_enable auf YES gestellt, aber es kommt immer eine Fehlermeldung:

220 "Speak friend, and enter"
530 Permission denied.

Hier die vsftpd.con
Code:
#### CONFIXX VSFTPD KONFIGURATIONSDATEI ####
#### erstellt am  ###

anonymous_enable=YES
anon_other_write_enable=NO
anon_upload_enable=NO
anon_root=/home/ftp
anon_max_rate=1500000
accept_timeout=60

local_enable=YES
ftp_username=ftp
write_enable=YES
local_umask=077
max_per_ip=1
xferlog_enable=YES
xferlog_file=/var/log/xferlog
xferlog_std_format=YES
ftpd_banner=Herzlich Willkommen auf dem anonymen FTP-Server von Flames-clan.de
data_connection_timeout=30
ascii_upload_enable=NO
ascii_download_enable=NO
ls_recurse_enable=NO

connect_timeout=60
connect_from_port_20=YES

chroot_local_user=YES

userlist_enable=YES
userlist_file=/etc/chrootUsers
userlist_deny=NO

pam_service_name=vsftpd

Der Ordner /home/ftp hat die Rechte o+rx und gehört dem user ftp:ftponly

Was läuft da falsch??
 
HI,

falls du vsFTP und ProFTP installiert hast, musst du das anonymous über ProFTP einrichten. Hast du aber nur eine vsftp.conf, dann fügst du einfach das ganz unten ein ;).Dazu fügst du einfach das hier z.B in die proftp.conf ein:
(die proftp findest du in /etc/)

<Anonymous ~ftp>

User ftp
Group ftp
UserAlias anonymous ftp

<Limit WRITE>
DenyAll
</Limit>

<Directory incoming>
<Limit STOR>
AllowAll
</Limit>
</Directory>
</Anonymous>

In meiner vsftp.conf steht folgendes über Anonymous FTP:
Wenn ich aber da den Anonymous "aktiviere", so funktioniert das leider nicht, deswegen muss ich das über die proftp.conf machen -.- weiß der Geier warum xD

# Anonymus FTP user Settings
#
# Allow anonymous FTP?
#
anonymous_enable=YES
#
# Anonymous users will only be allowed to download files which are
# world readable.
#
anon_world_readable_only=YES
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
#
#anon_upload_enable=YES
#
# Default umask for anonymus users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
#
#anon_umask=022
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
#
#anon_mkdir_write_enable=YES
#
# Uncomment this to enable anonymus FTP users to perform other write operations
# like deletion and renaming.
#
#anon_other_write_enable=YES
#
# If you want, you can arrange for uploaded anonymous files to be owned by
# a different user. Note! Using "root" for uploaded files is not
# recommended!
#
#chown_uploads=YES
#chown_username=whoever
#
# The maximum data transfer rate permitted, in bytes per second, for anonymous
# authenticated users. The default is 0 (unlimited).
#
#anon_max_rate=7200

Viele Grüße
BMF
 
Last edited by a moderator:
Hi,

doch doch hab ich doch geschrieben ;)

füge das in die vsftpd.conf ein:
# Anonymus FTP user Settings
#
# Allow anonymous FTP?
#
anonymous_enable=YES
#
# Anonymous users will only be allowed to download files which are
# world readable.
#
anon_world_readable_only=YES
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
#
#anon_upload_enable=YES
#
# Default umask for anonymus users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
#
#anon_umask=022
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
#
#anon_mkdir_write_enable=YES
#
# Uncomment this to enable anonymus FTP users to perform other write operations
# like deletion and renaming.
#
#anon_other_write_enable=YES
#
# If you want, you can arrange for uploaded anonymous files to be owned by
# a different user. Note! Using "root" for uploaded files is not
# recommended!
#
#chown_uploads=YES
#chown_username=whoever
#
# The maximum data transfer rate permitted, in bytes per second, for anonymous
# authenticated users. The default is 0 (unlimited).
#
#anon_max_rate=7200

viele Grüße
BMF
 
hmm, oben steht ja meine .conf

habe jetzt noch anon_world_readable_only=YES hinzugefügt, aber es kommt immer noch der Fehler :(
 
aaaaaaaaaaaaaaaaaaaaaalso!

ersetze das:
#### CONFIXX VSFTPD KONFIGURATIONSDATEI ####
#### erstellt am ###

anon_other_write_enable=NO
anon_upload_enable=NO
anon_root=/home/ftp
anon_max_rate=1500000
accept_timeout=60

local_enable=YES
ftp_username=ftp
write_enable=YES
local_umask=077
max_per_ip=1
xferlog_enable=YES
xferlog_file=/var/log/xferlog
xferlog_std_format=YES
ftpd_banner=Herzlich Willkommen auf dem anonymen FTP-Server von Flames-clan.de
data_connection_timeout=30
ascii_upload_enable=NO
ascii_download_enable=NO
ls_recurse_enable=NO

connect_timeout=60
connect_from_port_20=YES

chroot_local_user=YES

userlist_enable=YES
userlist_file=/etc/chrootUsers
userlist_deny=NO

pam_service_name=vsftpd

# Anonymus FTP user Settings
#
# Allow anonymous FTP?
#
anonymous_enable=YES
#
# Anonymous users will only be allowed to download files which are
# world readable.
#
anon_world_readable_only=YES
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
#
#anon_upload_enable=YES
#
# Default umask for anonymus users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
#
#anon_umask=022
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
#
#anon_mkdir_write_enable=YES
#
# Uncomment this to enable anonymus FTP users to perform other write operations
# like deletion and renaming.
#
#anon_other_write_enable=YES
#
# If you want, you can arrange for uploaded anonymous files to be owned by
# a different user. Note! Using "root" for uploaded files is not
# recommended!
#
#chown_uploads=YES
#chown_username=whoever
#
# The maximum data transfer rate permitted, in bytes per second, for anonymous
# authenticated users. The default is 0 (unlimited).
#
#anon_max_rate=7200

#### END ###

durch deine jetzige vsftpd.conf

dann loggst du dich per SSH ein und gibst dort dann "rcapache2 restart" ein und dann versuchst es nochmal ;)
 
vsftpd anonymous problem

Hallo Bosss,
ich hatte das gleiche Problem, nach ca.2 Stunden probieren ergab dieser Eintrag bei mir die Lösung:
anon_root=/STORAGE/HDD/ftp/public
ich vermute dass mein Server den anonymous user abgewiesen hatte, da er nicht wusste in welches Homeverzeichnis er diesen verweisen solle.
Bestimmt haste schon längst ne Lösung, aber ich habe Deinen Eintrag erst jetzt entdeckt, sorry,... Vielleicht hilfts Anderen mit dem gleichen Problem,... cio
 
Back
Top