PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : ProFtp 530 Login Incorrect



Xyr2
11.01.08, 20:56
hmm jo, kann nich connecten mit meinen normalen usern.

password stimmt und die user stehen auch nicht in der ftpusers datei drinne :confused:

wäre cool wenn mir jemand helfen kann :) schonmal danke im vorraus



hier meine config:

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

TransferLog /var/log/xferlog

# Normally, we want files to be overwriteable.
AllowOverwrite on

#
# Do a chroot for web-users (i.e. public or www group), but
# do not change root if the user is also in the users group...
#
#DefaultRoot ~/public_html public,!users
#
DefaultRoot ~

# Groups that are not allowed to login
<Limit LOGIN>
DenyGroup poponly
</Limit>


### ENDE ####

DelayEngine off

marce
11.01.08, 21:43
Was steht in den Logfiles?

stephankoenig
11.01.08, 23:05
Könntest du dir bitte von Anfang an angewöhnen Code-Tags für Systemausgaben zu verwenden? Erleichtert das Lesen der Beiträge ungemein...

Zu deinem Problem (Bin zwar kein Experte darin). Wie wäre es, wenn du das hier:


# Groups that are not allowed to login
<Limit LOGIN>
DenyGroup poponly
</Limit>

Durch das hier ersetzt:


# Groups that are not allowed to login
#<Limit LOGIN>
#DenyGroup poponly
#</Limit>

Vorher würde ich aber noch sicherheitshalber ein Backup der config-Datei machen...

Grüsse, Steven

Xyr2
11.01.08, 23:10
Hat sich erledigt, lag dran, dass in /etc/passwd für den Benutzer kein Shell Modus festgelegt war.

Danke trotzdem.

und zu den Code-Tags, jo werde ich in Zukunft machen ;)

stephankoenig
11.01.08, 23:14
Sehr schön, danke... :)

Grüsse, Steven

drcux
11.01.08, 23:32
Hat sich erledigt, lag dran, dass in /etc/passwd für den Benutzer kein Shell Modus festgelegt war.

Was ist denn ein "Shell Modus"?

Der Papst
16.01.08, 09:26
Ich habe gerade das gleiche Problem.

Mein Nutzer heißt - so wie mein Nutzer am System - tux, Passwort hab ich am FTP keines (am System natürlich schon!).

Wenn ich mich einlogge, dann kommt 530: login incorrect.

Im log /var/log/secure wird das hinzugefügt:


Jan 16 09:21:35 localhost proftpd[8856] localhost (::1[::1]): FTP session opened.
Jan 16 09:21:35 localhost proftpd[8856] localhost (::1[::1]): no such user 'anonymous'
Jan 16 09:21:35 localhost proftpd[8856] localhost (::1[::1]): USER anonymous: no such user found from ::1 [::1] to ::1:999
Jan 16 09:21:41 localhost proftpd[8856] localhost (::1[::1]): tux: Directory /home/tux/ is not accessible.

Wie ist das möglich?
Ich habe die Config übrigens mit gproftpd erstellt, weil ich mich nicht durch die Config wälzen wollte.
Nun habe ich es gemacht und trotzdem nichts herausgefunden...

Config:


ServerType standalone
DefaultServer on
Umask 022
ServerName "0.0.0.0"
ServerIdent on "Schleptop"
ServerAdmin 1337@rofl.lol
IdentLookups off
UseReverseDNS off
Port 999
PassivePorts 49152 65534
#MasqueradeAddress None
TimesGMT off
MaxInstances 30
MaxLoginAttempts 3
TimeoutLogin 300
TimeoutNoTransfer 120
TimeoutIdle 120
DisplayLogin welcome.msg
User nobody
Group nobody
DirFakeUser off nobody
DirFakeGroup off nobody
DefaultTransferMode binary
AllowForeignAddress off
AllowRetrieveRestart on
AllowStoreRestart on
DeleteAbortedStores off
TransferRate RETR 36
TransferRate STOR 40
TransferRate STOU 40
TransferRate APPE 40
SystemLog /var/log/secure
RequireValidShell off
#gp_random_username_length 6
#gp_random_password_length 20
#gp_randomize_case lower
#gp_useradd_homedir_path /var/ftp
#gp_html_path /var/www/html/ftp.htm
#gp_welcome_name welcome.msg
<IfModule mod_tls.c>
TLSEngine off
TLSRequired off
TLSVerifyClient off
TLSProtocol TLSv1
TLSLog /var/log/proftpd_tls.log
#TLSRSACertificateFile : "/etc/gproftpd/gproftpd.pem"
</IfModule>
<IfModule mod_ratio.c>
Ratios off
SaveRatios off
RatioFile "/restricted/proftpd_ratios"
RatioTempFile "/restricted/proftpd_ratios_temp"
CwdRatioMsg "Please upload first!"
FileRatioErrMsg "FileRatio limit exceeded, upload something first..."
ByteRatioErrMsg "ByteRatio limit exceeded, upload something first..."
LeechRatioMsg "Your ratio is unlimited."
</IfModule>
<Limit LOGIN>
AllowUser tux
DenyALL
</Limit>

<Anonymous /home/tux>
User tux
Group users
AnonRequirePassword off
MaxClients 5 "The server is full, hosting %m users"
DisplayLogin welcome.msg
UserRatio tux 0 0 0 0
<Limit LOGIN>
Allow from all
Deny from all
</Limit>
<Limit LIST NLST PWD XPWD SIZE STAT CWD XCWD CDUP XCUP >
AllowAll
</Limit>
<Limit STOR STOU APPE RETR RNFR RNTO DELE MKD XMKD SITE_MKDIR RMD XRMD SITE_RMDIR SITE SITE_CHMOD SITE_CHGRP MTDM >
DenyAll
</Limit>
</Anonymous>