PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : fedora vsftpd auf anderen port legen klappt nicht...



mezzo mix
03.02.04, 18:04
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.

Jinto
03.02.04, 20:59
Wirf doch bitte einen Blick ins Handbuch/FAQ vom vsftpd. Danke.

mezzo mix
03.02.04, 21:24
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.

kth
04.02.04, 02:20
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.

misc
04.02.04, 17:00
hab ich da mal wieder einen denkfehler?

Ja. Mißverständnis der Funktion von /etc/services.