www.ProFTPD.de

ProFTPD => ProFTPD - Deutsch => Thema gestartet von: d4n1el am 22. Juli 2006, 22:44:51



Titel: ProFTPD user können nichts hochladen
Beitrag von: d4n1el am 22. Juli 2006, 22:44:51
Hallo,
ich hatte vorher wu-ftpd laufen.
Ich habe nun ProFTPD installiert und nun kann keiner mehr eine Datei per FTP auf dem Webserver laden.
Das home Verzeichnis hat chmod 775...
Wäre dankbar wenn einer ein rat hat.


Titel: Re: ProFTPD user können nichts hochladen
Beitrag von: VolGas am 23. Juli 2006, 06:01:32
Hallo!

Vielleicht kannst Du Dir denken, daß die Information, daß nichts mehr geht,
bei weitem nicht ausreicht. Als erstes poste hier einmal Deine proftpd.conf.

mfg.
  VolGas


Titel: Re: ProFTPD user können nichts hochladen
Beitrag von: d4n1el am 02. August 2006, 19:52:05
Sry hab nicht mehr dran gedacht  :(

Code:
# 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 "FTP Server von d4n1el"
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

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~

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

# Bar use of SITE CHMOD by default
<Limit SITE_CHMOD>
  DenyAll
</Limit>

# A basic anonymous configuration, no upload directories.  If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
#<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>


Titel: Re: ProFTPD user können nichts hochladen
Beitrag von: VolGas am 02. August 2006, 21:36:02
Na so eilig war Dein Anliegen wohl nicht.

Deine proftpd.conf ist ja sehr "sparsam" - wenn erst einmal die ganzen unnötigen
auskommentierten Bereiche weg sind. Aber das wichtigste ist da. Und die Lösung
des Problems ist auch gleich ganz offensichlich: der Limit-Block ganz am Ende
verbietet ein Schreiben jedlicher Art...

Entferne diesen und füge Deiner proftpd.conf (zur Optimierung) noch folgende
Zeilen hinzu:
UseReverseDNS off
IdentLookups off
RequireValidShell off

Damit sollte es funktionieren.

mfg.
  VolGas


Titel: Re: ProFTPD user können nichts hochladen
Beitrag von: d4n1el am 02. August 2006, 22:27:10
damke ich werds mal testen!
ich dachte der limit block ist nur fuer anonymous


Titel: Re: ProFTPD user können nichts hochladen
Beitrag von: VolGas am 02. August 2006, 23:57:44
War es auch.
Aber da alles rings herum auskommentiert wurde,
und nur noch das übrig geblieben ist, steht es nun
im globalen Kontext.

mfg.
  VolGas


Titel: Re: ProFTPD user können nichts hochladen
Beitrag von: d4n1el am 07. August 2006, 19:40:50
Eine ganz edumme frage?
Wie startet man proftpd neu?
Ich hab es manuell installiert und im /etc verzeichnis ist keine proftpd datei
nur /usr/local/etc/...
und die startet ja nur immer.
Gehts auch mit der?


Titel: Re: ProFTPD user können nichts hochladen
Beitrag von: VolGas am 07. August 2006, 21:14:22
Aua, aua - absolutes Grundwissen!

Das Binary von ProFTPD ruft man direkt über die Befehlszeile auf, indem man
einfach dessen Pfad oder Namen in der Shell eingibt.

Soll der ProFTPD als Server nach jedem Hochfahren des Systems gestartet werden,
muß man dazu ein Startscript (siehe auch bei ->Download (http://www.proftpd.de/Tools.53.0.html)) installieren.
Doch solche Dinge sind nicht Gegenstand dieses Forums und würden dessen Rahmen
bei weitem sprengen und gibt es schon -zigtausend mal anderswo zu finden.

Ich kann Dir für Deine fehlenden Grundkenntnisse nur wärmstens z.B. das Standardwerk,
den "Kofler" (http://www.amazon.de/exec/obidos/ASIN/3827321581/ref=ase_deutscheinlon-21/302-4395941-9435229) wärmstens empfehlen, es gibt aber auch sehr viel weiterführende Literatur im Internet...

mfg.
  VolGas


Titel: Re: ProFTPD user können nichts hochladen
Beitrag von: d4n1el am 10. August 2006, 14:04:23
Aua, aua - absolutes Grundwissen!

Das Binary von ProFTPD ruft man direkt über die Befehlszeile auf, indem man
einfach dessen Pfad oder Namen in der Shell eingibt.

Soll der ProFTPD als Server nach jedem Hochfahren des Systems gestartet werden,
muß man dazu ein Startscript (siehe auch bei ->Download (http://www.proftpd.de/Tools.53.0.html)) installieren.
Doch solche Dinge sind nicht Gegenstand dieses Forums und würden dessen Rahmen
bei weitem sprengen und gibt es schon -zigtausend mal anderswo zu finden.

Ich will ihn neustarten und nicht beim booten des systems mitstarten...

Ich kann Dir für Deine fehlenden Grundkenntnisse nur wärmstens z.B. das Standardwerk,
den "Kofler" (http://www.amazon.de/exec/obidos/ASIN/3827321581/ref=ase_deutscheinlon-21/302-4395941-9435229) wärmstens empfehlen, es gibt aber auch sehr viel weiterführende Literatur im Internet...

mfg.
  VolGas