Operating System - HP-UX
1836690 Members
2577 Online
110108 Solutions
New Discussion

I wan to set up FTP service on HPUX system

 
SOLVED
Go to solution
cbozlagan
Regular Advisor

I wan to set up FTP service on HPUX system

I wan to set up FTP service on HPUX system

1- How can I check if FTP service was installed?

2- If it was installed, which user has access permission?

3- If it wasn't installed how can install, start, stop..?

Thanks
9 REPLIES 9
Steven E. Protter
Exalted Contributor
Solution

Re: I wan to set up FTP service on HPUX system

Shalom,

ftp is installed by default, but can be removed.

swlist -l product | grep -i ftpd

This should show:
wu-ftpd
Washington University ftpd server.

I have not checked what ftpd server 11.31 uses.

1.) Answered above.
2.) Any user has permission unless the ftpaccess file is configured to block access. Normal shops block root ftp access because its a huge security hazard as ftp authenticates in clear text (transmitting root password unencrypted in any network is a BAD idea).
3.) If it was not installed its available from http://software.hp.com Its started and stopped by the inetd daemon, configuration is in /etc/inetd.conf

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
James R. Ferguson
Acclaimed Contributor

Re: I wan to set up FTP service on HPUX system

Hi:

By default, the software is installed.

The 'inetd' daemon handles its running. Hence, examine your '/etc/inetd.conf' file for a service 'ftp'. You may need to enable (uncomment) the service. Changes to '/etc/inetd.conf' are sensed by doing :

# inetd -c

The configuration and control of your FTP is governed not only by '/stc/inetd.conf' but by the '/etc/ftpd/ftpaccess' and '/etc/ftpd/ftpusers' files. The manpages for 'ftpd(1M)' 'ftpaccess(4)' and 'ftpusers(4)' offer considerable information.

Regards!

...JRF...
NMory
Respected Contributor

Re: I wan to set up FTP service on HPUX system

You can start from using this document:

http://docs.hp.com/en/B2355-91058/ch02.html?btnNext=next%A0%BB

NM
Steven Schweda
Honored Contributor

Re: I wan to set up FTP service on HPUX system

1. Have you tried "ftp HP-UX_system"?

2. "man ftpd".

3. If it's installed, the start-stop stuff
should be there already.

> [...] FTP service [...]

Normal FTP (for users with accounts), or
anonymous FTP (for anyone)?
cbozlagan
Regular Advisor

Re: I wan to set up FTP service on HPUX system


thanks for advice using man ftpd.
man ftpd is very crowd. Takes lots of time to pick necessary iformation from there.

I need quick quideness.

Now,
1- how can I learn home directory of ftp?

2- how can I set anonymus access

Thanks.
NMory
Respected Contributor

Re: I wan to set up FTP service on HPUX system

Maxim Yakimenko
Super Advisor

Re: I wan to set up FTP service on HPUX system

And I would assume using free vsftpd - it is much simplier to configure than ugly default ftpd. ftpd's config files make my brain to do crash dump :) Search for it on google. The only problem I has found on HPUX - it lies with date in logging, I think this connected with environment variables that relate to date/time settings.
James R. Ferguson
Acclaimed Contributor

Re: I wan to set up FTP service on HPUX system

HI (again):

> thanks for advice using man ftpd.
man ftpd is very crowd. Takes lots of time to pick necessary iformation from there. I need quick quideness.

Who said learning comes without effort? The manpages contain a wealth of information and are always worth consulting. At the very least, if you have achieved your objective, go back and read the pages now!

...JRF...
Maxim Yakimenko
Super Advisor

Re: I wan to set up FTP service on HPUX system

I think default ftpd is no worth to learn it. Of course, it is required to use only HP software. It is configured in much clear way, it has a lot of docs over Internet. Not clumsy man's. Man it has too :) of course.

For example if I want to define users to be chroot I just create file with their names, If I want to define users that are not allowed to use FTP - I create file with their names, also, vsftpd easily joins with tcp_wrappers(I tested it) and SSL(not tested yet). And so on - try it, you'll never regret.