www.ProFTPD.de
13. März 2007, 19:34:49 *
Willkommen Gast. Bitte einloggen oder registrieren.
Haben Sie Ihre Aktivierungs E-Mail übersehen?

Einloggen mit Benutzername, Passwort und Sitzungslänge
News: SMF - Neu installiert!
 
   Übersicht   Hilfe Suche Login Registrieren  
Seiten: [1]   Nach unten
  Drucken  
Autor Thema: Proftp auf Debian 3.1  (Gelesen 298 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
James28
ProFTPD
*
Offline Offline

Beiträge: 2


Profil anzeigen
« am: 26. November 2006, 17:32:06 »

Hallo  Huch

Ich nutze Debian 3.1 und habe den proftp installiert nur leider klappt das nicht so.
ich möchte das jeder in seinem Homeverzeichniss bleibt. Ich habe ein Script dazu was Benutzer und
Gruppe und Ordner usw anlegt. Nachdem ich das Script ausgeführt habe ist im Ordner Home der Ordner ftp dazugekommen
wo die Benutzer homeverzeichnisse drinnen sindwenn ich im browser die IP vom FTP angebe bekomme ich ein Anmeldefenster
wo ich name und kennwort angeben kann nbur gehe ich da den angelegten benutzer an kann er sich nicht anmelden.
Weis jemand rat.

Hier meine proftpd.conf

#############################################################################################
#
# /etc/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes reload proftpd after modifications.
#

ServerName         "Debian"
ServerType         inetd
DeferWelcome         off
ServerIdent on                  "WIllkommen auf meinem Server"

MultilineRFC2228      on
DefaultServer         on
ShowSymlinks         on

TimeoutNoTransfer      600
TimeoutStalled         600
TimeoutIdle         1200

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

DenyFilter         \*.*/

#DefaultRoot ~
#RootLogin                       off

# 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 ~ftp>
#   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 WRITE>
#       DenyAll
#     </Limit>
#   </Directory>
#
#   # Uncomment this if you're brave.
#   # <Directory incoming>
#   #   # 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 READ WRITE>
#   #            DenyAll
#   #            </Limit>
#   #            <Limit STOR>
#   #            AllowAll
#   #            </Limit>
#   # </Directory>
#
# </Anonymous>
<VirtualHost 192.168.1.3>
Port 21
ServerName "pogress.homelinux.com"
</VirtualHost>
<Global>
RootLogin off
RequireValidShell off
DefaultRoot ~
#DefaultRoot ~ ftpweb
DefaultChdir /home/ftp/
</Global>
Gespeichert
VolGas
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 771



Profil anzeigen
« Antwort #1 am: 28. November 2006, 15:07:02 »

Hallo!

Zunächst wirkt Deine proftpd.conf sehr "ordentlich" und brauchbar.
Allerdings am Ende wird's "mistig". Entferne einmal die Zeilen:

"<VirtualHost 192.168.1.3>" und "</VirtualHost>"

Das könnte schon reichen. Außerdem könnte es von Vorteil sein, den ProFTPD nicht unter dem
inetd, sondern als "standalone" laufen zu lassen.

Hast Du Dir schon einmal die ->Support-Seiten und die ->FAQ von Stonki's Website angesehen?

Eine gut funktionierende proftpd.conf, die die wichtigsten und meist benötigten Anforderungen
abdeckt, kann man bei den ->Beispiel Konfigurationen finden: die ->proftpd.conf Standard Deluxe...

mfg.
  VolGas
Gespeichert
James28
ProFTPD
*
Offline Offline

Beiträge: 2


Profil anzeigen
« Antwort #2 am: 01. Dezember 2006, 07:28:40 »

Hi,

danke für deine Hilfe mein FTP server läuft nun. Aber eine frage hab ich dennoch Weist auch auch wie ich ddas ganze unter Suse Linux 10.1 zum laufen bekomme da ich das bei einem Anderen Pc auch machen sol.l Wenn ich den unter webmin starten möchte bekomme ich diese Meldung:

Konnte ProFTPd-Server nicht starten :
sh: /etc/init.d/proftpd: No such file or directory

Weist du was da zutun ist oder was z.B. in der /etc/Init.d/proftpd datei drinnen stehen muss damit er läuft.

Gruß James
Gespeichert
VolGas
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 771



Profil anzeigen
« Antwort #3 am: 01. Dezember 2006, 11:28:40 »

Schön, daß es nun funktioniert.

Auf einer anderen Maschine wäre die proftpd.conf prinzipiell die selbe, nur IP-Adressen wären
anzupassen. Wie und wo so ein Start-/Stopscript unter SUSE anzulegen ist, weiß ich nicht, aber
auf Stonki's Website ist eines im Download-Bereich bei den ->Tools zu finden...

Webmin ist ein klasse Tool, aber ich kann Dir nur empfehlen, sehr vorsichtig damit zu sein -
gerade bei Konfigurationsdateien. Die Konsole (bzw. SSH) kann es letztendlich nicht ersetzen.

Viel Spaß und Erfolg!

mfg.
  VolGas
Gespeichert
Seiten: [1]   Nach oben
  Drucken  
 
Gehe zu:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Prüfe XHTML 1.0 Prüfe CSS
Seite erstellt in 0.065 Sekunden mit 19 Zugriffen.