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
Solved

Linux FTP Folder access and Restrictions how to

Posted on 2007-03-19
3
1,630 Views
Last Modified: 2013-12-06
Hi,

I am Currently Running VSFTP on Fedora i wish to make some changes to permissions and folders.

User   ftpadmin  -- I wish to have access to everything on the ftp server
all other users i wish to have access only to there individual user directory and not view or see anything else on the FTP server.
is there a simple way of doing this.
Currently when somebody creates a user it creates the user in /home/
ifthere is a better and more secure way of doing this can someone please explain a step by step guide of how to configure this, i require secure and private ftp access for clients with 1 login (ftpadmin) that can view and delete and access to all ftp folders.
Please make it simple i am a linux beginner.

cheers

Big_Daddy
0
Comment
Question by:big_daddy_pimp
3 Comments
 
LVL 20

Accepted Solution

by:
nedvis earned 500 total points
ID: 18760440
You can restrict local users to their home directories by adding  following line

 chroot_local_user=YES

to the file   /etc/vsftpd.conf

For  number of other configuration options available for vsftpd that can be used to fine tune vsftp server read vsftpd.conf man page by typing following command:

 man vsftpd.conf

or if you prefer using your browser this is vsftpd.conf manual page in html format:
http://vsftpd.beasts.org/vsftpd_conf.html#index
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

792 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