tim
02.03.03, 11:18
Hi zusammen
Also hab mir den ProFTP 1.27 gesaugt und installiert....
mit Anonymous Login lief er auch schon... Aber ich möchte das
nur angelegte Benutzer zugriff haben.
Deshalb hab ich eine Datei in/usr/local/etc angelegt die
passwd_ftp heißt...
der Aufbau:
user:userpassword
Dann hab ich in meiner proftpd.conf folgendes eingegeben:
"AuthUserFile /usr/local/etc/passwd_ftp"
Aber das ganze funktioniert nicht so wie ich das will...
Wenn ich versuche, egal von wo, zu connecten kommt als Fehler
"BadLogin"
Wenn ich im Debug Modus starte kommt das:
- parsing '/usr/local/etc/proftpd.conf' configuration
olymp.local -
olymp.local - Config for TimsFTPServer:
olymp.local - /
olymp.local - AllowOverwrite
olymp.local - Umask
olymp.local - AllowRetrieveRestart
olymp.local - AllowStoreRestart
olymp.local - DefaultServer
olymp.local - Umask
olymp.local - UserID
olymp.local - UserName
olymp.local - GroupID
olymp.local - GroupName
olymp.local - AuthUserFile
olymp.local - AllowOverwrite
olymp.local - AllowRetrieveRestart
olymp.local - AllowStoreRestart
olymp.local - ProFTPD 1.2.7 (stable) (built Sun Mar 2 03:37:30 CET 2003) standalone mode STARTUP
olymp.local (192.168.0.10[192.168.0.10]) - connected - local : 192.168.0.1:21
olymp.local (192.168.0.10[192.168.0.10]) - connected - remote : 192.168.0.10:3295
olymp.local (192.168.0.10[192.168.0.10]) - FTP session opened.
olymp.local (192.168.0.10[192.168.0.10]) - dispatching PRE_CMD command 'USER tim' to mod_core
olymp.local (192.168.0.10[192.168.0.10]) - dispatching PRE_CMD command 'USER tim' to mod_core
olymp.local (192.168.0.10[192.168.0.10]) - dispatching PRE_CMD command 'USER tim' to mod_auth
olymp.local (192.168.0.10[192.168.0.10]) - dispatching CMD command 'USER tim' to mod_auth
olymp.local (192.168.0.10[192.168.0.10]) - no supplemental groups found for user 'tim'
olymp.local (192.168.0.10[192.168.0.10]) - dispatching LOG_CMD command 'USER tim' to mod_log
olymp.local (192.168.0.10[192.168.0.10]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
olymp.local (192.168.0.10[192.168.0.10]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
olymp.local (192.168.0.10[192.168.0.10]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_auth
olymp.local (192.168.0.10[192.168.0.10]) - dispatching CMD command 'PASS (hidden)' to mod_auth
olymp.local (192.168.0.10[192.168.0.10]) - no supplemental groups found for user 'tim'
olymp.local (192.168.0.10[192.168.0.10]) - no such user 'tim'
olymp.local (192.168.0.10[192.168.0.10]) - USER tim: no such user found from 192.168.0.10 [192.168.0.10] to 192.168.0.1:21
olymp.local (192.168.0.10[192.168.0.10]) - dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_log
olymp.local (192.168.0.10[192.168.0.10]) - FTP session closed.
Hier noch meine proftpd.conf:
# 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 "TimsFTPServer"
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 nogroup
#Password File setzen
AuthUserFile /usr/local/etc/passwd_ftp
#AuthGroupFile /usr/local/etc/ftpd.group
#User Shell required yes/no
#RequireValidShell off
#Resume erlauben
AllowOverwrite on
AllowRetrieveRestart on
AllowStoreRestart on
# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>
# A basic anonymous configuration, no upload directories.
#<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
# DisplayFirstChdir .message
#
# # Limit WRITE everywhere in the anonymous chroot
# <Limit WRITE>
# DenyAll
# </Limit>
#
#</Anonymous>
Mmh ich hoffe mir kann wer helfen da ich gar keine Ahnung mehr habe....
Meine Distri ist Suse 7.3
Gruß Tim
Also hab mir den ProFTP 1.27 gesaugt und installiert....
mit Anonymous Login lief er auch schon... Aber ich möchte das
nur angelegte Benutzer zugriff haben.
Deshalb hab ich eine Datei in/usr/local/etc angelegt die
passwd_ftp heißt...
der Aufbau:
user:userpassword
Dann hab ich in meiner proftpd.conf folgendes eingegeben:
"AuthUserFile /usr/local/etc/passwd_ftp"
Aber das ganze funktioniert nicht so wie ich das will...
Wenn ich versuche, egal von wo, zu connecten kommt als Fehler
"BadLogin"
Wenn ich im Debug Modus starte kommt das:
- parsing '/usr/local/etc/proftpd.conf' configuration
olymp.local -
olymp.local - Config for TimsFTPServer:
olymp.local - /
olymp.local - AllowOverwrite
olymp.local - Umask
olymp.local - AllowRetrieveRestart
olymp.local - AllowStoreRestart
olymp.local - DefaultServer
olymp.local - Umask
olymp.local - UserID
olymp.local - UserName
olymp.local - GroupID
olymp.local - GroupName
olymp.local - AuthUserFile
olymp.local - AllowOverwrite
olymp.local - AllowRetrieveRestart
olymp.local - AllowStoreRestart
olymp.local - ProFTPD 1.2.7 (stable) (built Sun Mar 2 03:37:30 CET 2003) standalone mode STARTUP
olymp.local (192.168.0.10[192.168.0.10]) - connected - local : 192.168.0.1:21
olymp.local (192.168.0.10[192.168.0.10]) - connected - remote : 192.168.0.10:3295
olymp.local (192.168.0.10[192.168.0.10]) - FTP session opened.
olymp.local (192.168.0.10[192.168.0.10]) - dispatching PRE_CMD command 'USER tim' to mod_core
olymp.local (192.168.0.10[192.168.0.10]) - dispatching PRE_CMD command 'USER tim' to mod_core
olymp.local (192.168.0.10[192.168.0.10]) - dispatching PRE_CMD command 'USER tim' to mod_auth
olymp.local (192.168.0.10[192.168.0.10]) - dispatching CMD command 'USER tim' to mod_auth
olymp.local (192.168.0.10[192.168.0.10]) - no supplemental groups found for user 'tim'
olymp.local (192.168.0.10[192.168.0.10]) - dispatching LOG_CMD command 'USER tim' to mod_log
olymp.local (192.168.0.10[192.168.0.10]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
olymp.local (192.168.0.10[192.168.0.10]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
olymp.local (192.168.0.10[192.168.0.10]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_auth
olymp.local (192.168.0.10[192.168.0.10]) - dispatching CMD command 'PASS (hidden)' to mod_auth
olymp.local (192.168.0.10[192.168.0.10]) - no supplemental groups found for user 'tim'
olymp.local (192.168.0.10[192.168.0.10]) - no such user 'tim'
olymp.local (192.168.0.10[192.168.0.10]) - USER tim: no such user found from 192.168.0.10 [192.168.0.10] to 192.168.0.1:21
olymp.local (192.168.0.10[192.168.0.10]) - dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_log
olymp.local (192.168.0.10[192.168.0.10]) - FTP session closed.
Hier noch meine proftpd.conf:
# 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 "TimsFTPServer"
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 nogroup
#Password File setzen
AuthUserFile /usr/local/etc/passwd_ftp
#AuthGroupFile /usr/local/etc/ftpd.group
#User Shell required yes/no
#RequireValidShell off
#Resume erlauben
AllowOverwrite on
AllowRetrieveRestart on
AllowStoreRestart on
# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>
# A basic anonymous configuration, no upload directories.
#<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
# DisplayFirstChdir .message
#
# # Limit WRITE everywhere in the anonymous chroot
# <Limit WRITE>
# DenyAll
# </Limit>
#
#</Anonymous>
Mmh ich hoffe mir kann wer helfen da ich gar keine Ahnung mehr habe....
Meine Distri ist Suse 7.3
Gruß Tim