Hilfee! Irgendwie will meine proftpd.conf nicht!

Alles, was den ProFTPD betrifft, kann hier besprochen werden.

Hilfee! Irgendwie will meine proftpd.conf nicht!

Postby benj@ » 11. June 2004 12:51

Hi

ich bin ein absoluter noob was linux betrifft will mich jetzt aber mächtig ins zeug legen!

ich versuche auf meinem FTP das löschen zu verbieten bringe es allerdings nicht fertig!

wenn ich mit chmod die rechte auf 764 ändere kann ich nicht mehr zum ftp verbinden.

was mach ich in meiner in proftpd.conf falsch??

Code: Select all
# 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

# Normally, we want files to be overwriteable.
<Directory /path/to/dir>
<LIMIT DELE>
      DenyAll
    </LIMIT>

</Directory>

<Directory /path/to/dir>
<Limit DELE>
      DenyAll
    </Limit>
</Directory>


sieht irgendein PRO von euch evt. meinen Fehler??

Danke für eure Hilfe

benj@
benj@
 
Posts: 3
Joined: 11. June 2004 12:37

Postby DJ DHG » 11. June 2004 14:23

Moin Moin

ich muss gestehn das ich gerade zufaul bin es selber zuprüfen, du kannst den syntax aber mit

Code: Select all
/opt/lampp/sbin/proftpd -t


checken lassen.

mfg DJ DHG
User avatar
DJ DHG
AF Moderator
 
Posts: 2455
Joined: 27. December 2002 13:50
Location: Kiel

hab ich gemacht und nun??

Postby benj@ » 11. June 2004 15:49

Leider läuft dies nur durch ohne irgendwas auszugeben mit was ich was anfangen könnte.

Code: Select all
Checking syntax of configuration file
Syntax check complete


wird da irgendwo ein bericht erstellt??

thx

benj@
benj@
 
Posts: 3
Joined: 11. June 2004 12:37

Postby DJ DHG » 11. June 2004 22:25

nein, ein bericht über eventuelle fehler würde sofort ausgegeben.

mfg DJ DHG
User avatar
DJ DHG
AF Moderator
 
Posts: 2455
Joined: 27. December 2002 13:50
Location: Kiel

Postby Antivirus » 12. June 2004 10:48

Hallo
Versuch mal diese Config du must sie aber noch anpassen...

Gruss Antivirus

Code: Select all

ServerName "SERVERNAME"
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

# Note that this ONLY works in standalone mode
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 /opt/lampp/htdocs

#Ein Verzeichnis indem nicht gelöscht werden darf aber überschrieben

<Directory /opt/lampp/htdocs>
AllowOverwrite on
<Limit DELE>
DenyAll
</Limit>
</Directory>


#Benützer Root kann sich nicht einloggen
RootLogin off

#User der sich nicht local anmelden kann hat auch zugriff
RequireValidShell off

#Ignoriere /etc/ftpusers
UseFtpUsers off

#schaltet DNS abfrage aus, im LAN schnellers Login
UseReverseDNS off
IdentLookups off

User avatar
Antivirus
 
Posts: 124
Joined: 11. April 2003 19:33

Postby benj@ » 12. June 2004 18:10

danke antivirus!

leider funktioniert die sache immer noch nicht!! hab mal deine conf umgeschrieben und getestet. leider ohne erfolg! :( :!: :!: :(

grüsse nach allschwil aus oftringen (ch) :)
benj@
 
Posts: 3
Joined: 11. June 2004 12:37

Postby Antivirus » 12. June 2004 19:32

Hallo nochmals

schick mal die umgeschriebene config, wenn sie du noch hast.

Gruss
User avatar
Antivirus
 
Posts: 124
Joined: 11. April 2003 19:33


Return to ProFTPD

Who is online

Users browsing this forum: No registered users and 4 guests