ProFTPd Config Datei ma checken...

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

ProFTPd Config Datei ma checken...

Postby The Saint » 16. June 2003 16:04

Hi Leute
Ich bin echt voll der n00b mit ProFTPD.
Guckt euch ma die Config Datei an. Was muss ich da ändern, damit ich keinen Anonyous-Zugriff mehr habe und wie kann ich da 2 Benutzter anlegen? Und wie kann ich denen dann ein Verzeichnis mit entsprechenden Rechten zuordnen?

Config-Datei:

# 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 "ProFTPD"
ServerType inetd
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 that the server normally runs at.
User Jojo
#Group nogroup

# Normally, we want files to be overwriteable.
<Directory /opt/lampp/htdocs/*>
AllowOverwrite on
</Directory>

# only for the web servers content
DefaultRoot /opt/lampp/htdocs

# nobody gets the password "lampp"
# commented out by lampp security
#UserPassword nobody wRPBu8u4YP0CY
UserPassword nobody 9QKZgnvZpJ4Y.

# nobody is no normal user so we have to allow users with no real shell
RequireValidShell off

# nobody may be in /etc/ftpusers so we also have to ignore this file
UseFtpUsers off
<Global>
MaxClientsPerHost 1 "LOL - Versuchs erst gar nicht!"
ServerIdent on "Willkommen auf dem FTP Server von Jojo"
AccessDenyMsg "Du kommst hier nit rein *g*"
AllowOverwrite on
RootLogin on
</Global>
<VirtualHost phantomias.kicks-ass.net>
AllowStoreRestart on
MaxClients 2 "Nur eine Verbindung erlaubt"
MaxClientsPerHost 1 "Nur eine Verbindung erlaubt"
DefaultChdir /windows/E/Mp3s
DefaultRoot ~
DefaultRoot ~
DeleteAbortedStores off
ServerAdmin jojo_dfg@yahoo.de
ServerName "ProFTPD Server von Phantomias"
RootLogin on
<Anonymous /windows/E/Mp3s>
</Anonymous>
</VirtualHost>

Bitte helft mir ma auf die Sprünge.
mfg The Saint
The Saint
 
Posts: 2
Joined: 15. June 2003 20:39

Postby boppy » 16. June 2003 16:22

...in diesem Sinne
yours boppy

Interpunktion und Orthographie dieses Beitrags sind frei erfunden.
Eine Übereinstimmung mit aktuellen oder ehemaligen Regeln wäre rein zufällig und ist nicht beabsichtigt.
User avatar
boppy
AF Moderator
 
Posts: 501
Joined: 27. December 2002 02:15
Location: W-E-City


Return to ProFTPD

Who is online

Users browsing this forum: No registered users and 6 guests