Hi,
hab an der Standard-Config nix verändert und ich komme auf Teufel komm raus nicht auf den FTP drauf. Login mit nobody und xampp funktioniert nicht. Versucht mit Cyberduck und mit dem Finder selbst. Nix.
LG
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.
ServerName "ProFTPD Default Installation"
ServerType standalone
DefaultServer on
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
# 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
# Set the user and group under which the server will run.
User nobody
Group admin
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot /Applications/xampp/htdocs
# Normally, we want files to be overwriteable.
AllowOverwrite on
# Bar use of SITE CHMOD by default
<Limit SITE_CHMOD>
DenyAll
</Limit>
# A basic anonymous configuration, no upload directories. If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<Anonymous ~ftp>
User ftp
Group ftp
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# Limit the maximum number of anonymous logins
MaxClients 10
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayChdir .message
# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>
</Anonymous>
Status: Verbinde mit 127.0.0.1:21...
Status: Verbindung hergestellt, warte auf Willkommensnachricht...
Antwort: 220 ProFTPD 1.3.1 Server (Tobis Server) [127.0.0.1]
Befehl: USER nobody
Antwort: 331 Password required for nobody
Befehl: PASS ****
Antwort: 530 Login incorrect.
Fehler: Herstellen der Verbindung zum Server fehlgeschlagen
dscacheutil -q user
name: nobody
password: *
uid: -2
gid: -2
dir: /var/empty
shell: /usr/bin/false
gecos: Unprivileged User
Was ist der Sinn eines FTP Servers auf 127.0.0.1?
Das bedeutet, dass man sich als User "nobody" grundsätzlich nicht einloggen kann, weil er kein gültiges Passwort besitzt. Wenn der User Nobody ein gültiges Passwort besitzen soll, musst Du das für ihn einrichten. Das geht am einfachsten als "root" mit dem Shell Kommando "passwd nobody" - danach wirst Du geben, ein Passwort zu vergeben.
Das hat mit Xampp übrigens rein gar nichts zu tun, das scheint unter OSX so vorinstalliert zu sein.
>Ich hab jetzt längere Zeit in der proftpd Dokumentation rumgesucht, aber das ist doch alles nur für Linux-Systeme, das hilft mir alles nicht wirklich weiter...
Nicht ganz - wenn Du es verstehen würdest, würde es durchaus weiterhelfen, denn auch OSX basiert auf einem UNIX System (wie Linux).
The standard in ProFTPD is the Pluggable Authentication Modules system, or PAM. Support is also provided for the classic /etc/passwd and /etc/shadow password files as well as more "interesting" solutions such as SQL and LDAP.
.....
FreeBSD
FreeBSD does not support PAM session directives. If you remove the following line from the FreeBSD section of README.PAM, PAM should work properly under recent versions of FreeBSD.
Example 8-4. FreeBSD configuration
ftp session required pam_unix.so try_first_pass
Die Pakete haben gemeinsam, dass sie nur ausgepackt und gestartet werden müssen und schon funktioniert alles. Keine Einträge in der Registry (außer bei der Windows-Installer-Version), kein Ändern von Konfigurationsdateien. Einfacher kann es eigentlich nicht mehr sein.
klunz wrote:Da hier jetzt innerhalb einer Woche 3 Leute genau dasselbe Problem beschreiben liegt zumindest der Verdacht nahe, dass es sich um ein prinzipielles Problem in der default-Konfiguration handelt oder wir alle den selben einen kleinen Fehler machen, und es nicht an meiner persönlichen Blödheit liegt die doch recht technische ProFTPd-Dokumentation zu verstehen.
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.
ServerName "ProFTPD Default Installation"
ServerType standalone
DefaultServer on
# Port 21 is the standard FTP port.
Port 21
# Don't use IPv6 support by default.
#UseIPv6 off
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
# 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
# Set the user and group under which the server will run.
User nobody
Group admin
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot /Applications/xampp/htdocs
# Normally, we want files to be overwriteable.
AllowOverwrite on
# Bar use of SITE CHMOD by default
<Limit SITE_CHMOD>
DenyAll
</Limit>
# nobody gets the password "xampp"
UserPassword nobody 2TgxE8g184G9c
RequireValidShell off
#to login with "OSX Users"
AuthPAM on
AuthPAMConfig ftpd
# A basic anonymous configuration, no upload directories. If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
#<Anonymous ~ftp>
# User ftp
# Group ftp
#
# # We want clients to be able to login with "anonymous" as well as "ftp"
# UserAlias anonymous ftp
#
# # Limit the maximum number of anonymous logins
# MaxClients 10
#
# # We want 'welcome.msg' displayed at login, and '.message' displayed
# # in each newly chdired directory.
# DisplayLogin welcome.msg
# DisplayChdir .message
#
# # Limit WRITE everywhere in the anonymous chroot
# <Limit WRITE>
# DenyAll
# </Limit>
#</Anonymous>
Users browsing this forum: No registered users and 8 guests