Solved

Linux FTP Folder access and Restrictions how to

Posted on 2007-03-19
3
1,635 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

749 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