|
Erstmal vorweg "Moin Moin ... ich bin neu hier ... i" Ich hoffe ich finde hier soetwas wie einen (gern auch 2 *g) erfahrenen Helfer, der mir beim Einstieg in Linux helfen kann.
Ich habe mir einen "alten" Rechner zusammengebaut um ihn als "Multi-Server" im heimischen Netzwerk laufen zu lassen. Nach kurzer Überlegung habe ich mich dann entschieden SuSe 8.1 statt Windows 2000 zu installieren. Die Installation ist mir auch problemlos gelungen und nach 5 stündiger Netzwerkinstallation bootete meine erstes Suse 8.1 . Seit dem (vor 3 Tagen) bemühe ich mich ProFTPD zum laufen zu bringen. Erfolg bisger ... kaum erkennbar.
Bislang habe ich erfolgreich folgendes getan
- ProFTPD heruntergeladen, kompiliert und im Verzeichniss /usr/local/src/proftpd-1.2.8 angelegt - Der Server ist dem Benutzer und der Gruppe ftp zugeordet. - 3 Tage vor der proftpd.conf gesessen und geflucht.
Eine kurze Erklärung was der FTP Server tun soll vorweg:
- anonymer FTP Server ohne Passwort geschützte Benutzerkonten - das Verzeichnis /home/server soll das Homeverzeichnis des FTP Servers werden read only - das Verzeichnis /home/server/incoming soll einen anonymen Schreib und Lesezugriff bekommen. Verzeichnisse sollen ebenfalls erstellt werden können, aber nur vom "Urheber" auch wieder gelöscht werden können. - das Verzeichnis /home/server/pub und alle darunter befindlichen Ordner wie z.B /home/server/pub/mp3/meinemusik sollen nur Lesezugriffe erlauben. - Benutzerlimit 100 - Hier meine bisherige Konfiguration:
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 "Servfix FTP Server Write access in Directory /incoming" 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 under which the server will run. User ftp Group ftp
# To cause every FTP user to be "jailed" (chrooted) into their home # directory, uncomment this line. # DefaultRoot ~
<Limit LOGIN> DenyGroup * </Limit>
# Normally, we want files to be overwriteable. <Directory /home/server/incoming> AllowOverwrite on AllowRetrieveRestart on AllowStoreRestart on </Directory>
DefaultRoot /home/server
# A basic anonymous configuration, no upload directories. If you do not # want anonymous users, simply delete this entire <Anonymous> section. <Anonymous ~ftp> <Limit LOGIN> AllowGroup * </Limit>
#DefaultRoot /home/server
User ftp Group ftp <Directory /home/server>
# AllowOverwrite on <Limit WRITE STOR> Denyall </Limit> <Limit READ> AllowAll </Limit> </Directory> <Directory /home/server/incoming> # AllowOverwrite on <Limit STOR READ> AllowAll </Limit> <Limit WRITE> DenyAll </Limit> </Directory>
# 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 100
# We want 'welcome.msg' displayed at login, and '.message' displayed # in each newly chdired directory. DisplayLogin welcome.msg DisplayFirstChdir .message </Anonymous>
# Limit WRITE everywhere in the anonymous chroot # <Limit WRITE> # DenyAll # </Limit>
-- MFG Ford Prefect
|