Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AIX5.3 ftp query

Status
Not open for further replies.

nyck

Technical User
Mar 10, 2004
447
GB
I have been asked to configure one of our 5.3 servers ftp so that its also runs on ports 8000, 8001, 8002 & 8003 as well as running on the default port. How do I do this?

Is it just a case of adding some more entries into /etc/services for ftp?
 
Hi

What you can try and do is

1. add entries in /etc/services
e.g.
give them different service names

ftp1 8000/tcp
8000/udp
ftp2 8001/tcp
8001/udp
ftp3 etc..
ftp4


then in /etc/services uses the service name to fire up the ftpd program
ftp1 stream tcp6 nowait root /usr/sbin/ftpd ftpd
ftp2 stream tcp6 nowait root /usr/sbin/ftpd ftpd
e.g.

Then use ftp1 , ftp2 etc..

I havent tried it but just a thought , thought being if you just add the ports in /etc/services how does ftp know which one to use because you can have multiple ftp sessions


By the way , why do you want to do this ?

 
Cheers for the reply.

do not the ftp1 stream tcp6 nowait root /usr/sbin/ftpd ftpd bits need to go into /etc/inetd.conf?

One of my users has asked me to do this, to tell you the truth I'm not too sure why but I will ask them.

I also logged a call with IBM an they tell me that this is not possible with the default ftp client. So i have been looking at wu-ftp and pro-ftp.
 

> I also logged a call with IBM an they tell me that this is not possible with the default ftp client. So i have been looking at wu-ftp and pro-ftp.

They're talking rubbish. From the man page:

"The /usr/sbin/ftpd daemon is the DARPA Internet File Transfer Protocol (FTP) server process. The ftpd daemon uses the Transmission Control Protocol (TCP) to listen at the port specified with the ftp command service specification in the /etc/services file.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top