Solved

setting up proftp...

Posted on 2004-08-06
3
176 Views
Last Modified: 2010-04-20
Hello everyone,
I am setting up a new linux server for virtual hosting. I installed apache, proftp, mysql, and php.
I think I figured out the setting for virtual hosting in apache. I created 5 name based websites sharing the same IP address and also created 5 users for those websites.  Now I want to setup ftp for those websites. Of course a user only can access to his or her web directory.
How do I specify which user connects to which directory
0
Comment
Question by:soweyoung
3 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 125 total points
Comment Utility
The safest way to do this is to have the web site directories owned by the Apache user (usually nobody). Then configure Proftpd to use a private passwd & group file and don't create Linux accounts for those users. In the Proftpd passwd file specify the site dir as the FTP user's home dir and they'll be locked into that directory.

This is safer than having Linux accounts since a compromise of the FTP user's password can't be used to compromise the Linux system.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now