Moin Forum.
Mein Problem ist, dass ich sich die user nicht einloggen können "530 Login incorrect".
Ich habe meinen Server unter DebianSarge und habe mir eine TLS Verschlüsselung
eingerichtet. Meinen user habe ich angelegt und mit usermod -s /bin/ftp username
eingestellt.
Ich habe schon einige Seiten durchsucht, aber ich komme einfach nicht weiter. Hier ist
meine
proftpd.conf:______________________________________________________________________
ServerName "Webideen-server"
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
# Delay engine reduces impact of the so-called Timing Attack described in
#
http://security.lss.hr/index.php?page=details&ID=LSS-2004-10-02# It is on by default.
#DelayEngine off
#-----------------------------------------------------------------------------------------------------
# A basic anonymous configuration, no upload directories.
# <Anonymous>
# User ftp
# Group nogroup
# # We want clients to be able to login with "anonymous" as well as "ftp"
# UserAlias anonymous ftp
# # Cosmetic changes, all files belongs to ftp user
# DirFakeUser on ftp
# DirFakeGroup on ftp
#
# RequireValidShell off
#
# # 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
# DisplayFirstChdir .message
#
# # Limit WRITE everywhere in the anonymous chroot
# <Directory>
# <Limit>
# DenyAll
# </Limit>
# </Directory>
#
# # Uncomment this if you're brave.
# # <Directory>
# # # Umask 022 is a good standard umask to prevent new files and dirs
# # # (second parm) from being group and world writable.
# # Umask 022 022
# # <Limit>
# # DenyAll
# # </Limit>
# # <Limit>
# # AllowAll
# # </Limit>
# # </Directory>
#
# </Anonymous>
#--------------------------------------------------------------------------------
# Ergänzungen zum Login
#
# chroot für alle User der Gruppe ftpuser
DefaultRoot ~ ftpuser
# Login nur von Mitgliedern der Gruppe ftpuser erlauben
<Limit>
DenyGroup !ftpuser
</Limit>
# Root-Login verbieten und gültige Shell verlangen (in /etc/shells)
<Global>
RootLogin off
RequireValidShell off
</Global>
# Speed erhoehen
UseReverseDNS off
IdentLookups off
# Logging Formate
LogFormat default "%h %1 %u %t \"%r\" %s %b"
LogFormat auth "%v [%P] %h %t \"%r\" %s"
LogFormat write "%h %1 %u %t \"%r\" %s %b"
# Logging aktivieren
ExtendedLog /var/log/ftp_auth.log AUTH auth
# file/dir Zugriff
ExtendedLog /var/log/ftp_access.log WRITE,READ write
# für besonderst paranoide (CAVE! sehr große Logfiles)
ExtendedLog /var/log ftp_paranoid.log ALL default
# TLS module in die Prozedur einfuegen
# TLSEngine on --> siehe oben
TLSLog /var/log/tls.log
TLSProtocol SSLv23
TLSOptions NoCertRequest
TLSRSACertificateFile /etc/ssl/certs/proftpd.cert.pem
TLSRSACertificateKeyFile /etc/ssl/certs/proftpd.key.pem
TLSVerifyClient off
# naechste Option kann auch ausgestellt werden
TLSRequired on
______________________________________________________________________
Ich habe auch die ausgabe aus dem Befehl "
proftpd -n -d9" :
- mod_tls/2.0.7: using OpenSSL 0.9.7e 25 Oct 2004
- parsing '/etc/proftpd.conf' configuration
- FS: using system open()
- FS: using system read()
- dispatching directive 'ServerName' to module mod_core
- dispatching directive 'ServerType' to module mod_core
- dispatching directive 'DeferWelcome' to module mod_core
- dispatching directive 'MultilineRFC2228' to module mod_core
- dispatching directive 'DefaultServer' to module mod_core
- dispatching directive 'ShowSymlinks' to module mod_ls
- dispatching directive 'TimeoutNoTransfer' to module mod_xfer
- dispatching directive 'TimeoutStalled' to module mod_xfer
- dispatching directive 'TimeoutIdle' to module mod_core
- dispatching directive 'DisplayLogin' to module mod_core
- dispatching directive 'DisplayFirstChdir' to module mod_core
- dispatching directive 'ListOptions' to module mod_ls
- dispatching directive 'DenyFilter' to module mod_core
- Compiling deny regex '\*.*/'.
- Allocated deny regex at location 0x812e868.
- dispatching directive 'TLSEngine' to module mod_tls
- dispatching directive 'Port' to module mod_core
- FS: using system read()
- dispatching directive 'MaxInstances' to module mod_core
- dispatching directive 'User' to module mod_core
- dispatching auth request "getpwnam" to module mod_radius
- dispatching auth request "getpwnam" to module mod_sql
- dispatching auth request "getpwnam" to module mod_auth_file
- dispatching auth request "getpwnam" to module mod_auth_unix
- dispatching directive 'Group' to module mod_core
- dispatching auth request "getgrnam" to module mod_radius
- dispatching auth request "getgrnam" to module mod_sql
- dispatching auth request "getgrnam" to module mod_auth_file
- dispatching auth request "getgrnam" to module mod_auth_unix
- dispatching directive 'Umask' to module mod_core
- dispatching directive 'AllowOverwrite' to module mod_xfer
- FS: using system read()
- FS: using system read()
- dispatching directive 'DefaultRoot' to module mod_auth
- dispatching directive '<Limit>' to module mod_core
- dispatching directive 'DenyGroup' to module mod_core
- dispatching directive '</Limit>' to module mod_core
- dispatching directive '<Global>' to module mod_core
- dispatching directive 'RootLogin' to module mod_auth
- dispatching directive 'RequireValidShell' to module mod_auth
- dispatching directive '</Global>' to module mod_core
- dispatching directive 'UseReverseDNS' to module mod_core
- dispatching directive 'IdentLookups' to module mod_core
- dispatching directive 'LogFormat' to module mod_log
- dispatching directive 'LogFormat' to module mod_log
- dispatching directive 'LogFormat' to module mod_log
- dispatching directive 'ExtendedLog' to module mod_log
- dispatching directive 'ExtendedLog' to module mod_log
- FS: using system read()
- dispatching directive 'ExtendedLog' to module mod_log
- dispatching directive 'TLSLog' to module mod_tls
- dispatching directive 'TLSProtocol' to module mod_tls
- dispatching directive 'TLSOptions' to module mod_tls
- dispatching directive 'TLSRSACertificateFile' to module mod_tls
- FS: using system lstat()
- dispatching directive 'TLSRSACertificateKeyFile' to module mod_tls
- FS: using system lstat()
- dispatching directive 'TLSVerifyClient' to module mod_tls
- dispatching directive 'TLSRequired' to module mod_tls
- FS: using system read()
- FS: using system close()
localhost.localdomain -
localhost.localdomain - Config for Webideen-server:
localhost.localdomain - Limit
localhost.localdomain - DenyGroup
localhost.localdomain - DeferWelcome
localhost.localdomain - DefaultServer
localhost.localdomain - ShowSymlinks
localhost.localdomain - TimeoutNoTransfer
localhost.localdomain - TimeoutStalled
localhost.localdomain - TimeoutIdle
localhost.localdomain - DisplayLogin
localhost.localdomain - DisplayFirstChdir
localhost.localdomain - ListOptions
localhost.localdomain - DenyFilter
localhost.localdomain - TLSEngine
localhost.localdomain - UserID
localhost.localdomain - UserName
localhost.localdomain - GroupID
localhost.localdomain - GroupName
localhost.localdomain - Umask
localhost.localdomain - DirUmask
localhost.localdomain - AllowOverwrite
localhost.localdomain - DefaultRoot
localhost.localdomain - IdentLookups
localhost.localdomain - ExtendedLog
localhost.localdomain - ExtendedLog
localhost.localdomain - ExtendedLog
localhost.localdomain - TLSLog
localhost.localdomain - TLSOptions
localhost.localdomain - TLSRSACertificateFile
localhost.localdomain - TLSRSACertificateKeyFile
localhost.localdomain - TLSVerifyClient
localhost.localdomain - TLSRequired
localhost.localdomain - RootLogin
localhost.localdomain - RequireValidShell
localhost.localdomain - ROOT PRIVS at ../../../modules/mod_tls.c:584
localhost.localdomain - RELINQUISH PRIVS at ../../../modules/mod_tls.c:586
localhost.localdomain - ROOT PRIVS at ../../../modules/mod_tls.c:632
localhost.localdomain - mod_tls/2.0.7: passphrase locked into memory
localhost.localdomain - RELINQUISH PRIVS at ../../../modules/mod_tls.c:638
localhost.localdomain - ROOT PRIVS at ../../../modules/mod_delay.c:295
localhost.localdomain - FS: using system open()
localhost.localdomain - RELINQUISH PRIVS at ../../../modules/mod_delay.c:297
localhost.localdomain - FS: using system fstat()
localhost.localdomain - FS: using system close()
localhost.localdomain - dispatching auth request "getgroups" to module mod_radius
localhost.localdomain - dispatching auth request "getgroups" to module mod_sql
localhost.localdomain - dispatching auth request "getgroups" to module mod_auth_file
localhost.localdomain - dispatching auth request "getgroups" to module mod_auth_unix
localhost.localdomain - SETUP PRIVS at ../../../src/main.c:2736
localhost.localdomain - ROOT PRIVS at ../../../src/main.c:1970
localhost.localdomain - RELINQUISH PRIVS at ../../../src/main.c:1977
localhost.localdomain - ROOT PRIVS at ../../../src/main.c:2263
localhost.localdomain - opening scoreboard '/var/run/proftpd/proftpd.scoreboard'localhost.localdomain - RELINQUISH PRIVS at ../../../src/main.c:2291
localhost.localdomain - fatal: Socket operation on non-socket
localhost.localdomain - (Running from command line? Use `ServerType standalone' in config file!)
_______________________________________________________________________
Ich hoffe, dass mir jemand helfen kann. Ich sollte noch erwähnen, dass ich noch ein
Anfänger in Sachen proftpd bin!
Ich danke schon einmal im Voraus
Grüße
Steven