Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

setting up proftp...

Posted on 2004-08-06
3
Medium Priority
?
223 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 500 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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
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.
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.
Suggested Courses
Course of the Month10 days, 16 hours left to enroll

618 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