Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 12-20-2007, 05:51 PM   #1
LQ Newbie
Registered: Dec 2007
Posts: 2

Rep: Reputation: 0
Help with an FTP server


so I can't find a solution to this on google

I'm a small time web designer, and I've decided I want to set up web hosting for my customers.

I got my own Dell server here next to me, and I got my install CDs for Red Hat 5.

I want to offer FTP account to my users, but from experience in the past, the users I create are free to roam through all sub directories of the FTP server. So i'm wondering, how do I isolate a user to a home dir so they can only view thier files and go no higher in the dir structure than thier home dir?

Thanks in advance,

John Minns
Old 12-20-2007, 06:00 PM   #2
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Red hat uses vsftpd. I think this article may help you with what you are trying to achieve. Also take a look at the vstfpd FAQs.
Old 12-20-2007, 06:00 PM   #3
Senior Member
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96

The default FTP server in RedHat (vsftpd) chroot's local users to their home direcories, so this shouldn't be a problem.

Old 12-20-2007, 06:02 PM   #4
LQ Newbie
Registered: Dec 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks, that looks like the sort of thing I'm looking for

When I get it all up and running I'll use these and let you know how it goes.

I have a few questions I need answering, so you may see me around quite a bit in this section


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
In plesk , I wish to have a backup cron job, ftp back up file to another ftp server? muskiediver Linux - General 6 07-16-2009 03:13 AM
files not visible in ftp site (but present in the /var/ftp/folder of the server) dongrila Linux - Newbie 2 12-23-2007 10:09 PM
ftp server - Pure ftp - logs in OK but no files visible tp11235 Linux - Networking 2 08-30-2005 05:11 AM
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 04:24 PM
how can I restrict ftp users listing files from a pure-ftp server adrianmak Linux - Networking 2 12-31-2002 08:23 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:20 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration