Kann mich bei ProFTP nicht einloggen

Backup, Restore und Transfer von Daten
Post Reply
timeless2
Posts: 415
Joined: 2005-03-04 14:45
Location: Paris
 

Kann mich bei ProFTP nicht einloggen

Post by timeless2 »

Ich habe Proftp nach Debianhowto installiert. Ich kann zwar den FTP-Server erreichen, er verlangt ein Passwort, schmeißt mich dann aber raus, weil das Passwort falsch ist (530). Ich habe das Passwort des Benutzers (ist in der Gruppe ftpuser) schon mehrmals geändert, aber es klappt nicht, auch wenn ich mich direkt auf dem Server mit ftp servername verbinde.

Das ist meine Konfig-Datei, abgesehen davon, dass bei ServerName der richtige Servername steht.

Code: Select all

ServerName                      "servername"
ServerType                      inetd
DeferWelcome                    off

MultilineRFC2228                on
DefaultServer                   on
ShowSymlinks                    on

TimeoutNoTransfer               600
TimeoutStalled                  600
TimeoutIdle                     1200

DisplayLogin                    welcome.msg
DisplayFirstChdir               .message
ListOptions                     "-l"

DenyFilter                      *.*/

# Uncomment this if you are using NIS or LDAP to retrieve passwords:
#PersistentPasswd               off

# Uncomment this if you would use TLS module:
#TLSEngine                      on

# Uncomment this if you would use quota module:
#Quotas                         on

# Uncomment this if you would use ratio module:
#Ratios                         on

# Port 21 is the standard FTP port.
Port                            21

# 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 that the server normally runs at.
User                            nobody
Group                           nogroup

# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask                           022  022
# Normally, we want files to be overwriteable.
AllowOverwrite                  on

## Ergänzung nach Debianhowto.de

DefaultRoot                     ~ftpuser


<Limit LOGIN>
Deny Group                      !ftpuser
</Limit>

<Global>
RootLogin                       off
RequireValidShell               on
</Global>

UseReverseDNS                   off
IdentLookups                    off

LogFormat                       default "%h %l %u %t "%r" %s %b"
LogFormat                       auth "%v [%P] %h %t "%r" %s"
LogFormat                       write "%h %l %u %t "%r" %s %b"

# Logging aktivieren

# alle logins
ExtendedLog             /var/log/ftp_auth.log AUTH auth

# file/dir Zugriff
ExtendedLog             /var/log/ftp_access.log WRITE,READ write

# für paranoide (vorsicht, erzeugt grosse Logfiles)
#ExtendedLog /var/log/ftp_paranoid.log ALL default

timeless2
Posts: 415
Joined: 2005-03-04 14:45
Location: Paris
 

Re: Kann mich bei ProFTP nicht einloggen

Post by timeless2 »

in der Zeile "Default Root ..." steht nach "~" eine Leerzeile, das hatte ich vergessen. Damit hat sich das Problem erledigt.
Post Reply