PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Proftpd loginproblem



Enzymir
07.08.03, 03:50
Hallo,

ich nutze debian mit proftpd.
Der ftp lässt sich auch starten.
Das Problem was ich habe, ist dass ich mich nicht einloggen kann.
Er disconnected einfach, und sagt es geht nicht. Egal welcher user.
Als wenn irgendwas mit dem pfad net stimmt, den er dann gehen soll.
Bekomme immer ein login incorrect.


Meine proftpd.conf:

ServerName interceptor
ServerType standalone
DefaultServer on
ServerAdmin enzymir@ufs-clan.com

# 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 enzymir
Group users

TransferLog /var/log/xferlog
# Normally, we want files to be overwriteable.
<Directory /*>
AllowOverwrite on
</Directory>

# Erlaubnis für alle zum resumen

AllowStoreRestart on

# fxp erlauben

AllowForeignAddress 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,!users
#
# DefaultRoot ~

### ENDE ####

WilliaM
07.08.03, 05:39
mir kommt da nur eine sache innen sinn, die aber nicht das prob sein kann:
wieso kann ein user einen port unter 1024 oeffnen ? denn anschienend laeuft der ja als user... naja, egal


greez william

pibi
07.08.03, 09:27
Original geschrieben von Enzymir
Das Problem was ich habe, ist dass ich mich nicht einloggen kann.Hast Du das Logging nicht eingeschaltet?
#
# Logging options
#
TransferLog /var/log/proftpd.xfer

# Some logging formats
#
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"

# Log file/dir access
ExtendedLog /var/log/proftpd.access_log WRITE,READ write

# Record all logins
ExtendedLog /var/log/proftpd.auth_log AUTH auth

# Paranoia logging level....
ExtendedLog /var/log/proftpd.paranoid_log ALL defaultDa koenntest Du sicher einiges rauslesen;-)

Gruss Pit.

Enzymir
17.08.03, 20:57
Wenn ich das mit in die cfg eintrage logt er nix.
Er erstellt nichtmal die log dateien.
Achja, der ftp läuft als nobody, nobody.

edit: ftp geht jetzt ^^

Hmm der geht aber nur standalone, undn icht via identd.
Er startet zwar, aber ich kann mich net einloggen.
Jemand ne idee ?

I-Master
18.08.03, 02:00
Probiers mal mit

AuthUserFile /etc/passwd

Enzymir
18.08.03, 18:42
immer noch nicht :/