Solved

setting up proftp...

Posted on 2004-08-06
3
216 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
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 …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

691 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