- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- FTP Serviers
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
Community
Resources
Forums
Blogs
- 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
04-13-2005 05:23 AM
04-13-2005 05:23 AM
FTP Serviers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2005 05:31 AM
04-13-2005 05:31 AM
Re: FTP Serviers
netstat -a | grep -e 21 -e 20 | grep LISTEN
should give you the list of ports who are actively listening incoming requests.
Caution: it may also list ports like 2121 or 49210 as all grep is doing, is pattern matching, but the output should be much easier to look at that the whole netstat -a output.
Hope this helps
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2005 05:34 AM
04-13-2005 05:34 AM
Re: FTP Serviers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2005 05:36 AM
04-13-2005 05:36 AM
Re: FTP Serviers
-l -L -u 022
The first -l is to do basic logging, -L shows all the commands and -u 022 sets the umask value for security.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2005 05:37 AM
04-13-2005 05:37 AM
Re: FTP Serviers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2005 05:43 AM
04-13-2005 05:43 AM
Re: FTP Serviers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2005 05:57 AM
04-13-2005 05:57 AM
Re: FTP Serviers
there are two files which control how ftp runs initiated by inetd. These files are /etc/services and /etc/inetd.conf.
again by default, these are configured as follows:
/etc/services
ftp-data 20/tcp # File Transfer Protocol (Data)
ftp 21/tcp # File Transfer Protocol (Control)
/etc/inetd.conf
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -L -l -u 022
if you want the ftp to listen to port 1021 instead of 21, you need to change this info in services file and then restart inetd.
when you say "in addition to" then it becomes a different problem. You need to start an ftp daemon process listening on port 1021 and have it constantly run instead of inetd launching it. I am not sure if this can be done with ftpd provided with hpux.
UNIX because I majored in cryptology...