1835153 Members
2402 Online
110077 Solutions
New Discussion

ftp server

 
SOLVED
Go to solution
Verónica Muñoz Segovia
Frequent Advisor

ftp server

Hi all,
I want to setup an ftp server, but I have never done this before. Somebody can help me with some info about this.

I would like to implement it on HP-UX or SCO-UX.

Also I have the follow doubt, is it possible to users can access the ftp server with its own account and every user have its own home directory?

Thanks

Veronica
Always is important to know the opinion of other people with or without experience
5 REPLIES 5
Rita C Workman
Honored Contributor

Re: ftp server

Sounds to me like your wanting to secure your FTP server. Yes you can do this.
1. If your on an 11.0 system you want to set up your permissions using the ftpaccess file, example only giving guest privileges to users; or creating and having a special ftp banner page run.
2. You will also need to modify the inetd.conf file and add a <-a> to the end of the ftp line so it will use the instructions from the ftpaccess file.
3. I used the HP Manual Installing & Administering Internet Services...."Configuring Anonymous ftp Access".
The only difference I didn't want an Anonymous FTP Server but users with logins...so do the same for each FTP user account (copy ls and pwd to their home directory). **One tip: cp /sbin/ls home//bin ** the book says cp /usr/bin/ls and that is wrong !!!!***
4. For added security I just did a simple chroot in the /etc/passwd to their home directory
user_nm:uid:gid::::/home/user_nm/./:/bin/ksh

Hope this helps get you started...you might try doing a search and see what other tips are around on the Forum,
/rcw
Verónica Muñoz Segovia
Frequent Advisor

Re: ftp server

Thanks for your answer!

And you are right I want to secure the FTP because this will be an ftp that will be available on internet and every user must to enter to it with its own account, and they cannot be able to see in others directories.

I have HP-UX 10.20, I gonna see the documentation you told me.

Thanks in advance.

Veronica
=)
Always is important to know the opinion of other people with or without experience
Brian Hackley
Honored Contributor

Re: ftp server

Veronica,

I'll also make a short suggestion to look at the parts of Chapter 2 in "Installing and Administering Internet Services (HP-UX 10.x)", available at http://docs.hp.com -> Networking/Communications -> Internet Services
A
Hope that helps to some extent,

-> Brian Hackley
Ask me about telecommuting!
Shannon Petry
Honored Contributor
Solution

Re: ftp server

You can look at my doc on my soon to be torn down web site :(

http://www.invenioeng.com/systems/ftpd_faq.html

It covers alot of the info Rita mentioned, as well as info on each of the critical files for wu-ftp.

Hope it helps! If not email me directly if you wish, I have done about 20 of these now, so am pretty well versed and even have some scripts for automation of syncronization of /etc/passwd and /somewhere/wu_ftpd_dir/etc/passwd...

Regards,
Shannon
Microsoft. When do you want a virus today?
Verónica Muñoz Segovia
Frequent Advisor

Re: ftp server

Thank you for all your responses,I think I have enought material in order to setup the ftp server.

Shannon, thanks for you're availability, be sure that if I have any problem I will write you to ask you some questions.

Veronica ;)
Always is important to know the opinion of other people with or without experience