
1 Mär
2008
1 Mär
'08
05:16
Tong writes:
If ftpd is started from inetd, then one can use the /etc/inetd.conf and /etc/services to specify which port the ftpd is listening on.
Changing the definition of ftp in /etc/services seems like a bad thing to do. But YMMV.
Now I'm getting out of my league, because I don't run an ftpd. But looking at the vsftpd.conf manpage, you can set a listen_port parameter. You can probably do something similar with wu-ftpd. Same definitely goes for sshd; I regularly run it on a nonstandard port, and I have to edit /etc/ssh/ssh-config for that. Most daemons have their own config file for specifying this and other parameters.
HTH, -- Chris