GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: problem in multiple ftp setup in unix
Operating System - HP-UX
1850762
Members
3353
Online
104055
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2005 08:30 PM
07-27-2005 08:30 PM
problem in multiple ftp setup in unix
Please guide me to setup multiple FTP servers in a single unix machine using unix's native ftp daemon(in.ftpd).
(Eg neetd to setup ftp server in 1050 instead of convensional port 21)
(Eg neetd to setup ftp server in 1050 instead of convensional port 21)
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2005 08:59 PM
07-27-2005 08:59 PM
Re: problem in multiple ftp setup in unix
You can make an additional FTP listener on port 1050 by: -
- adding the following line to /etc/services:
myftp 1050/tcp
- adding the following line to /etc/inetd.conf
myftp stream tcp nowait root /usr/lbin/ftpd ftpd -l
- running "inetd -c" to reload the inet daemon.
Note however that this will use exactly the same config files in /etc/ftpd so will appear the same, apart from listening on a different port.
If you want to run a different configuration (ie one daemon running anonymous ftp, another daemon running with a different root directory etc) then you'll need to use a 3rd-party FTP daemon, like wu-ftpd for example.
- adding the following line to /etc/services:
myftp 1050/tcp
- adding the following line to /etc/inetd.conf
myftp stream tcp nowait root /usr/lbin/ftpd ftpd -l
- running "inetd -c" to reload the inet daemon.
Note however that this will use exactly the same config files in /etc/ftpd so will appear the same, apart from listening on a different port.
If you want to run a different configuration (ie one daemon running anonymous ftp, another daemon running with a different root directory etc) then you'll need to use a 3rd-party FTP daemon, like wu-ftpd for example.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2005 12:26 AM
07-29-2005 12:26 AM
Re: problem in multiple ftp setup in unix
Hi Simon,
Thanks for your reply,but the problem is ftp is using two ports for data transfer 20 and 21 ,one for data connection and one for control connection so how can i make a complete ftp server with the change of only one port in services.If you go through the /etc/services file you can see ftp_data service with port number 20.
Sajjan
Thanks for your reply,but the problem is ftp is using two ports for data transfer 20 and 21 ,one for data connection and one for control connection so how can i make a complete ftp server with the change of only one port in services.If you go through the /etc/services file you can see ftp_data service with port number 20.
Sajjan
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP