Hallo nachdem wir nun TekBase zum laufen bekommen haben.
Ist ein kleines Porblem weiterhin vorhanden, wenn wir bei FTP-Benutzer (Kundencenter) einen neuen Benutzer erstellen, wird dieser nicht im Root eingetragen und ist somit nicht erreichbar.
Hallo nachdem wir nun TekBase zum laufen bekommen haben.
Ist ein kleines Porblem weiterhin vorhanden, wenn wir bei FTP-Benutzer (Kundencenter) einen neuen Benutzer erstellen, wird dieser nicht im Root eingetragen und ist somit nicht erreichbar.
So habe nun "expect" installiert. Doch muss ich noch was Konfigurieren ?
oder muss das sofort dann laufen?
Weil das tut es bei mir nicht
Die proftpd.conf noch bearbeiten.
RequireValidShell off
AuthUserFile /etc/proftpd/ftpd.passwd
AuthGroupFile /etc/proftpd/ftpd.group
Wird nicht wie bei einem gs user evenfals ein useraccount auf dem system erstellt?
So habe nun "expect" auf meinen GamingRoot und auf meinen Webserver installiert.
zudem habe ich die Config für proftpd bearbeitet und
"RequireValidShell off
AuthUserFile /etc/proftpd/ftpd.passwd
AuthGroupFile /etc/proftpd/ftpd.group "
hinzugefügt. Das witzige war nur dabei das der ordner "/etc/proftpd/" nicht exestiert.
Ich habe die config über webmin bearbeit. Trozdem geht es momentan nicht. Ich erstelle den neuen FTP user doch nichts passiert.
Er steht zwar in der Liste. Doch wurde nicht auf dem server angelegt
Und sonst kann vllt jemand mal ne Config posten die ich übernehmen kann. Vielleicht sind ja keine Fehler in meiner.
expect und config muss nur auf dem Rootserver angepasst/installiert werden wo auch später die Gameserver/Streamserver instaliert werden. Auf dem Webserver eher nicht da dort meist Configen u.a. von Plesk, Webmin verwendet werden.
Hey also ich habe expect installier und Config fertig. Doch es geht halt nicht...
/etc/proftpd/ftpd.passwd und ftpd.group exestieren bei mir nicht...
Melde mich mit "root" an.
cd /etc
ls
kein proftpd
zypper in proftpd = keine Updates verfügbar
Alles anzeigen
Also ich denke es liegt dran das ich den ordner nicht habe... warum auch immer.
Wenn die install.sh ausgeführt wurde für Rootserver Skripte sollte Proftpd installiert werden, ggf. einfach nochmal Skripte installieren.
Ja ich muss mich korigerien. /etc/proftpd/ exestiert.
Nur /etc/proftpd/ftpd.passwd und ftpd.group exestieren bei mir nicht...
#
# To have more informations about Proftpd configuration
# look at : http://www.proftpd.org/
#
# 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 @ Generation-X"
#ServerType standalone
ServerType inetd
DefaultServer on
<Global>
DefaultRoot ~ users
DefaultRoot ~ psacln
AllowOverwrite on
<IfModule mod_tls.c>
# common settings for all virtual hosts
TLSEngine on
TLSRequired off
TLSLog /var/log/plesk/ftp_tls.log
TLSRSACertificateFile /usr/local/psa/admin/conf/httpsd.pem
TLSRSACertificateKeyFile /usr/local/psa/admin/conf/httpsd.pem
# Authenticate clients that want to use FTP over TLS?
TLSVerifyClient off
# Allow SSL/TLS renegotiations when the client requests them, but
# do not force the renegotations. Some clients do not support
# SSL/TLS renegotiations; when mod_tls forces a renegotiation, these
# clients will close the data connection, or there will be a timeout
# on an idle data connection.
TLSRenegotiate none
# As of ProFTPD 1.3.3rc1, mod_tls only accepts SSL/TLS data connections
# that reuse the SSL session of the control connection, as a security measure.
# Unfortunately, there are some clients (e.g. curl) which do not reuse SSL sessions.
TLSOptions NoSessionReuseRequired
</IfModule>
</Global>
DefaultTransferMode binary
UseFtpUsers on
TimesGMT off
SetEnv TZ :/etc/localtime
# 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
#Following part of this config file were generate by PSA automatically
#Any changes in this part will be overwritten by next manipulation
#with Anonymous FTP feature in PSA control panel.
#Include directive should point to place where FTP Virtual Hosts configurations
#preserved
ScoreboardFile /var/run/scoreboard
# Primary log file mest be outside of system logrotate province
TransferLog /var/log/plesk/xferlog
#Change default group for new files and directories in vhosts dir to psacln
<Directory /srv/www/vhosts>
GroupOwner psacln
AllowRetrieveRestart on
AllowStoreRestart on
AllowOverwrite on
</Directory>
# Enable PAM authentication
AuthPAM on
AuthPAMConfig proftpd
UseReverseDNS off
Include /etc/proftpd.include
AllowForeignAddress on
AllowRetrieveRestart on
AllowStoreRestart on
DefaultAddress 176.57.142.138
RequireValidShell off
AuthUserFile /etc/proftpd/ftpd.passwd
AuthGroupFile /etc/proftpd/ftpd.group
Das ist meine Config.
Ich weiß ist ne menge, nur ich glaube da ist was falsch...
So also neuen FTP Benutzer erstellt. Im Kundencenter steht er drin doch im Root ist nichts. Die Dateien sind auch nicht erstellt. Ist vielleicht ein Problem auf dem Webserver? Das er kein befehl zum stellen an den Root sendet ?
und wie installiere ich die Scripte neu ? Der Root sagt im admin menu das alle Aktuell sind.
Wirklich das Installscript einfach nochmal rennen lassen ? Ich meine ich habe ja schon server installiert. Und Kunden angelegt.
Ja das macht nichts, Scheind ja das was fehlt wenn schon die proftpd.conf nicht da war, kannst auch zum testen apt-get install proftpd machen.
Schön -.- durch das erneuete ausführen des installscrips ist der server tot....
Hey geil Root server wieder neu erstellen... Wuhu!
Dann hast du echt was falsch gemacht Da nur die Skripte installiert werden zum Verbinden des Rootservers zu TekBASE es wirds nichts gelöscht.
Ja leider doch, es werden alle Dateien überschreiben...
Das heißt alles neu einstellen, aber die Lösung war viel simpler.
Autzhgruop -> /etc/groups
Authuser -> /etc/proftpd/auth/passwd
Die Datei orte waren einfach falsch.
Alle für alle die das gleiche Problem haben!
Einfach:
"expect" installieren
und in der proftpd.config "/etc/proftpd"
RequireValidShell off
AuthUserFile /etc/groups
AuthGroupFile /etc/proftpd/auth/passwd
Alles anzeigen
dies unten anfügen.
Nah das habe ich doch die ganze zeit auch geschrieben *G*
Hatte dir ein Link zu Proftpd und Expect geben sowie nochmals geschrieben was in die proftpd.conf soll