PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : ProFtpD -> Anonymous



hever
24.04.04, 18:46
Hallo zusammen,
ich habe folgende Konfiguration meines FTP Servers (proftpd):

# First virtual server
<VirtualHost ftp2.meinedomain.de>
ServerName "Fileserver"

MaxClients 30
MaxLoginAttempts 3
<Anonymous ~ftp>
User ftp
Group ftp
UserAlias anonymous ftp
AnonRequirePassword off
</Anonymous>
</VirtualHost>

Wenn ich mich nun anmelden möchte, schaut des folgendermaßen aus:

331 Anonymous login ok, send your complete email address as your password.
Password:
530 Login incorrect.
Login failed.

Bei Password geb ich selbstverändlich ne Email addy ein. Kann mir jemand sagen wo mein Fehler in der Konfiguration des Servers liegt sagen ?

Danke im Vorraus
-hev-

Freekazonid
25.04.04, 11:03
mein anonymous abschnitt sieht so aus evtl hilfts

<Anonymous ~ftp>

User ftp
Group ftp
UserAlias anonymous ftp

<Limit WRITE
DenyAll # Schreiben verboten
</Limit>

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

hever
25.04.04, 16:40
Hallo,

in deiner Konfiguration kannte er das zweite Limit nicht, ich habs rausgenommen, dann hat er die Konfiguration angeneommmen. Aber leider auch hier derselbe Fehler. Ich kann mich net als annonymous anmelden.

Ich verwende ProFTPd Version 1.29.

Gesamte Konfig:
ServerName "proxy"
ServerType standalone

# Port 21 is the standard FTP port.
Port 21

# Global creates a "global" configuration that is shared by the
# main server and all virtualhosts.

<Global>
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
LoginPasswordPrompt off
</Global>

# Set the user and group that the server normally runs at.
User ftp
Group nogroup

# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 30

# Maximum seconds a data connection may "stall"
TimeoutStalled 300

# First virtual server
<VirtualHost ftp2.meinedomain.de>
ServerName "Fileserver"

MaxClients 30
MaxLoginAttempts 3

<Anonymous ~ftp>
User ftp
Group ftp
UserAlias anonymous ftp
AnonRequirePassword off
</Anonymous>
</VirtualHost>

hever
25.04.04, 16:49
hej!
Ist mein User FTP vielleicht falsch eingerichtet ?
Ich hatte mal das Passwort zu Kein Passwort geändert jetzt hab ich es wieder auf PreEncrypted ! gesetzt....

Nicht einmal die Beispielkonfiguration von ProFtpd geht:
http://proftpd.org/docs/configs/anonymous.conf

hever
25.04.04, 17:13
Problem gelöst!

Folgende Zeile hat mein Problem gelöst:

RequireValidShell off

ChrisiD
27.04.04, 16:41
ich habe mir auch diesen FTP-Server installiert...

jetzt wollte ich aber kein Anonymous einrichten sondern jedem der drauf zugreifen möchte ein Benutzername und ein Passwort geben...

was muss ich da einstellen und wo?

greetz ChrisiD

snoopy2004
27.04.04, 17:00
du musst für jeden user dem du ftp zugang geben willst im system auch nen konto geben. du kannst ihm natürich dann noch die bash sperren,das der user wirklich nur auf den ftp kann...

ChrisiD
27.04.04, 20:44
ist vielleicht für dich verständlich aber irgendwie ist das für mich nur bahnhof... könntest mir vielleicht die schritte aufschreiben die ich machen muss.

greetz ChrisiD