Archiv verlassen und diese Seite im Standarddesign anzeigen : fedora vsftpd auf anderen port legen klappt nicht...
hallo,
habe in der datei /etc/services folgende zeilen auskommentiert:
#ftp 21/tcp
#ftp 21/udp fsp fspd
und jene eingefügt:
ftp 2121/tcp
ftp 2121/udp
der vsftpd lauscht jedoch immer noch auf port 21.
hab ich da mal wieder einen denkfehler?
wer kann helfen?
CU
ps: computer wurde zwischendurch neu gestartet und mit ihm alle services.
Wirf doch bitte einen Blick ins Handbuch/FAQ vom vsftpd. Danke.
hab ich gemacht:
Q) Help! Can I change the port that vsftpd runs on?
A1) Yes. If you are running vsftpd in standalone mode, use the "listen_port"
directive in vsftpd.conf.
A2) Yes. If you are running vsftpd from an inetd or xinetd program, this
becomes an inetd or xinetd problem. You must change the inetd or xinetd
configuration files (perhaps /etc/inetd.conf or /etc/xinetd.d/vsftpd)
A2 trifft bei mir zu, und ich war der meinung die datei, die ich dafür brauche, wäre /etc/services und nicht der listen_port befehl aus A1. na ja, habs ja durch fummeln auch so ohne dich hinbekommen.
Original geschrieben von mezzo mix
Q) Help! Can I change the port that vsftpd runs on?
A1) Yes. If you are running vsftpd in standalone mode, use the "listen_port"
directive in vsftpd.conf.
A2) Yes. If you are running vsftpd from an inetd or xinetd program, this
becomes an inetd or xinetd problem. You must change the inetd or xinetd
configuration files (perhaps /etc/inetd.conf or /etc/xinetd.d/vsftpd)
A2 trifft bei mir zu So? Für den bei Fedora Core mitgelieferten vsftpd ist jedenfalls der Daemon-Modus Standard, das heißt: A1. Das Init-Skript ist /etc/init.d/vsftpd, und die Konfiguration liegt unter /etc/vsftpd/vsftpd.conf.
hab ich da mal wieder einen denkfehler?
Ja. Mißverständnis der Funktion von /etc/services.
Powered by vBulletin® Version 4.2.5 Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.