Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Pureftpd unter Suse

Empfohlene Antworten

Hiho..

Wir haben einen Suse 9.3 Server auf dem Pure Ftpd als Netzwerkdienst (xinetd) läuft.

Sowohl lokale Benutzer als auch Domänenbenutzer können sich am FTP Server anmelden und werden automatisch in ihr Home Verzeichnis geleitet.

Soweit so gut :D

Allerdings gibt es noch 2 Sachen die nicht so toll sind..

Zum einen sind die User nicht in ihrem Homeverzeichnis eingesperrt und zum anderen funktioniert der anonyme FTP Login..

Unter /etc/pure-ftpd/pure-ftpd.conf hab ich alle Einstellungen angepasst ohne Erfolg..

Irgendwie hab ich das Gefühl das die Einstellungen nicht dort ausgelesen werden..

Hat jemand ne Idee?

joa sogar schon den Server ^^

Ich peil das nicht :(

Hab in der conf

AnonymousOnly no

NoAnonymous yes

stehen...

Und trotzdem funktioniert der anonyme Login noch...

Hmmm... wenn du sagst, das PureFTPD durch den schrottigen XINETD gestarted wird mußt du mal schauen, ob evtl. dort noch Parameter übergeben werden (in /etc/xinetd.d/* oder so)

Hm ich blick das nicht so ganz..

Das steht in der conf unter /etc/pure-ftpd:

# If you want to run Pure-FTPd with this configuration

# instead of command-line options, please run the

# following command :

# /usr/sbin/pure-config.pl /usr/etc/pure-ftpd.conf

In der /etc/Xinetd.d/pure-ftpd steht:

# ** NOTE ** when using pure-ftpd from xinetd the arguments to control

# it's behaviour should be added here in this file in the

# "server_args" line since the configuration file

# /etc/pure-ftpd.conf is only for standalone pure-ftpd.

# The command "/usr/sbin/pure-config-args /etc/pure-ftpd.conf"

# will print the arguments needed for behaviour like standalone

# pure-ftpd.

Ich verstehe darunter das die einzelnen Befehle aus der Config Datei in Xinetd unter Server-Argumente eingetragen werden sollen..

Hab das getestet hat aber nicht funktioniert..

Ich mach jetzt erstmal Feierabend.. Werde mich morgen wieder melden ;)

Wo liegt eigentlich der Vorteil Pure-FTPD über XINETD zu starten und nicht als Standalone? :confused:

Ein weiterer Grund auf der Liste, warum SuSE in die Tonne gehört...

Als pragmatische Lösung schlage ich vor, Pure-FTPD aus XINETD zu entfernen und Standalone auszuführen. Das macht zum einen wegen der intuitiv zu findenen Config Sinn, außerdem bringt XINETD aus meiner Erfahrung keine Vorteile, eher Probleme.

Wo liegt eigentlich der Vorteil Pure-FTPD über XINETD zu starten und nicht als Standalone? :confused:

Ich zitiere mal aus dem Debian-Xinetd-Howto:

"The basic target of inetd and also xinetd is to listen at special TCP-ports and to start the needed service if a connection is requested."

In der Theorie spart man dadurch Resourcen, weil die Serverdienste nur noch bei Bedarf gestartet werden, während er bei der Standalonevariante die ganze Zeit läuft.

Hm ich blick das nicht so ganz..

Das steht in der conf unter /etc/pure-ftpd:

# If you want to run Pure-FTPd with this configuration

# instead of command-line options, please run the

# following command :

# /usr/sbin/pure-config.pl /usr/etc/pure-ftpd.conf

In der /etc/Xinetd.d/pure-ftpd steht:

# ** NOTE ** when using pure-ftpd from xinetd the arguments to control

# it's behaviour should be added here in this file in the

# "server_args" line since the configuration file

# /etc/pure-ftpd.conf is only for standalone pure-ftpd.

# The command "/usr/sbin/pure-config-args /etc/pure-ftpd.conf"

# will print the arguments needed for behaviour like standalone

# pure-ftpd.

Ich verstehe darunter das die einzelnen Befehle aus der Config Datei in Xinetd unter Server-Argumente eingetragen werden sollen..

Hab das getestet hat aber nicht funktioniert..

Ich mach jetzt erstmal Feierabend.. Werde mich morgen wieder melden ;)

Ich verstehe das so, dass man wenn man xinetd benutzen möchte:

/usr/sbin/pure-config-args /etc/pure-ftpd/pure-ftpd.conf

ausführt und die Ausgabe in die Datei /etc/Xinetd.d/pure-ftpd einträgt.

In meinem Falle (entspricht der Grundkonfiguration) wäre das zum Beispiel:

server_args: -A -c10 -B -C3 -z -D -e -fftp -H -I15 -lpam -L2000:8 -m4 -s -U177:077 -u100 -x -r -i -k99 -G -Z

Funktioniert es den, wenn man pure-ftpd von Hand mit /usr/sbin/pure-config.pl /usr/etc/pure-ftpd.conf startet?

Also ich habs jetzt unter Xinetd gelassen auch wenn es mir da keine Vorteile bringt.

Der Unterschied zur Standalone Version ist der das ich unter Serverargumente Kürzel eintragen muss anstatt die conf Datei zu editieren.

Also z.B. -A für chrooteveryone also um jeden im Homeverzeichnis einzusperren.

Eine Befehlsliste steht auf www.pureftpd.org in der Main Documentation.

Ich hätte einfach besser lesen sollen :D

Danke für die Hilfe Leute.. ;)

Edit: Ups Klaus deine zweite Antwort hab ich doch glatt überlesen ^^ Hätte mir einiges erspart :-P

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.