Solved

setting up proftp...

Posted on 2004-08-06
3
211 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 125 total points
ID: 11740497
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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

733 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