1823967 Members
4399 Online
109667 Solutions
New Discussion юеВ

ftp on hpux

 
SOLVED
Go to solution
Shivkumar
Super Advisor

ftp on hpux

Someone wants to retrieve files via ftp. Is ftp services should be running then only someone can retrieve the files via ftp? What are steps to set up ftp services so that other users are able to get files from the server using ftp.

Thanks,
Shiv
6 REPLIES 6
Juan M Leon
Trusted Contributor
Solution

Re: ftp on hpux

I will think the ftp services are enable by default unless you have the services desable. The only thing you have to ensure is that the incoming user has a account on the server to be able to ftp into.
Suggestiong I will use sftp if you are going across wan (Secure connection).


hope it helps
Victor BERRIDGE
Honored Contributor

Re: ftp on hpux

Hi Shiv,
Are you talking of work site behind a firewall?
In which case ftp should work
try from one box to another...
If you are talking of getting up an ftp server, that is something different


All the best
Victor
Victor BERRIDGE
Honored Contributor

Re: ftp on hpux

Forgot to say, look at /etc/inetd.conf to see if ftpd is commented or not


All the best
Victor
Alessandro Pilati
Esteemed Contributor

Re: ftp on hpux

Shiv,
on your server you need the ftp server ( such as ftpd or wu-ftpd ) and on your client you need only the binary client ftp...
On the server, you can set access policies like hosts allowed, users allowed and how much bytes the fto clients can download or upload...

These links may be useful:
http://docs.hp.com/en/B2355-90778/ch02.html

http://docs.hp.com/en/B9901-90018/ch05s02.html

Regards,
Alex
if you don't try, you'll never know if you are able to
Ranjith_5
Honored Contributor

Re: ftp on hpux

Hi Shivakumar,

in HP-UX ftpd, telnet etc are not a seperate deamon, but a part of inetd. The configuration is done in /etc/inetd.conf.Should have the following line.

ftp stream tcp nowait root /usr/lbin/ftpd ftpd -la /etc/ftpd/ftpaccess


your /etc/services file should have the following line.

ftp 21/tcp

The ftp access control is done through the following files.
1.
/etc/ftpd/ftpaccess
Would contain following lines.

class all real,anonymous,guest *
banner /etc/issue
2.
/etc/ftpd/ftpusers.

make sure that who ever need ftpaccess is NOT listed in this file. Those who are listed in this file cant use ftp.root is added in tis file by default because of security reasons. You may remove the same if you use root account for ftp.

Regards,
Syam
Mahesh Kumar Malik
Honored Contributor

Re: ftp on hpux

Hi Shiv

1. ftp service is enabled by default in hp-ux unless it has been disabled.

2. /etc/services provides status on this service

3. ftp operates at port 21, so if remote user wants to transfer the files, make sure this port is open

Regards
Mahesh