cancel
Showing results for 
Search instead for 
Did you mean: 

FTP

Nanda M
Advisor

FTP

Hi,

How to find FTP services is enabled in HP-UX11.11,

10 REPLIES
Michal Kapalka (mikap)
Honored Contributor

Re: FTP

hi,

/etc/inetd.conf

ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l

mikap
Hakki Aydin Ucar
Honored Contributor

Re: FTP

Go to vi /etc/services

Find ,and Comment out (if it is commented) tje line:

ftp 21/tcp

save the file and restart daemon:

/etc/inetd -c
Robert-Jan Goossens_1
Honored Contributor

Re: FTP

Hi,

# netstat -a |grep ftp

Regards,
Robert-Jan
Hakki Aydin Ucar
Honored Contributor

Re: FTP

missing part is:

you need to do above for /etc/inetd.conf also .
Steven Schweda
Honored Contributor

Re: FTP

> How to find FTP services is enabled in
> HP-UX11.11,

One fairly reliable way would be to try to
talk to the FTP server, "ftp ", and see
if it works.

> Go to vi /etc/services

No, please don't. Leave it in peace.
Nanda M
Advisor

Re: FTP

Hi,

I could see in /etc/services but not in inetd.conf

netstat -a report nothing

Is there any way to find out, one of my server is FTP is working but entry is not there in inetd.conf

Hakki Aydin Ucar
Honored Contributor

Re: FTP

very easy way to you:

hostname OR
getip

note that IP or hostname

then

ftp

if you get ftp prompt it is working:

ftp>
Steven Schweda
Honored Contributor

Re: FTP

> Is there any way to find out, one of my
> server is FTP is working but entry is not
> there in inetd.conf

As already suggested, TRY IT.

Normally, however, if it's not in
"/etc/inetd.conf", then it's not enabled.

> netstat -a report nothing

Nothing at all, or nothing about FTP? As
usual, showing an actual command with its
actual output can be more helpful than a
vague description or interpretation.
Patrick Wallek
Honored Contributor

Re: FTP

>>one of my server is FTP is working

Does this mean you can use FTP to log INTO this server? If so, the FTP is definitely enabled somewhere.

Or does this mean you can FTP to another server from this one? If this is the case there's not a whole lot you can do as FTP from a server can be difficult to control.

>>but entry is not there in inetd.conf

There could be a separate process that runs FTP. It is possible that you have an FTP Daemon running all the time that is not controlled by inetd.

# ps -ef |grep -i ftp

may show the process if it is running all the time.
Nanda M
Advisor

Re: FTP

thanks