LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


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

Rep: Reputation: 0
Help with an FTP server


Okay,

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
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Hi.

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

Dave
 
Old 12-20-2007, 06:02 PM   #4
Jamdude80
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
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

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