LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-07-2005, 07:31 AM   #1
mephesto
LQ Newbie
 
Registered: Feb 2005
Posts: 13

Rep: Reputation: 0
FTP users prevent browsing to other directories


hi there,

I've installed my first fedora box to use as a ftp server for my network, locally and public. For the public users they will be redirected to the /var/ftp/pub/ directory, and have upload and download permissions.

What i would like to prevent is that these users are able to browse to the upper directories in the tree.

I've added the users for public ftp only to the ftp group, but still they are able to browse to the etc directory and download my config files.

how do i prevent this from happening?

thanks a lot for your help.
 
Old 05-07-2005, 08:18 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
chroot is your friend.. and if your using vsftpd, it has an option you can put in your vsftpd.conf file to do this as well.. locks users in their home directory.
 
Old 05-07-2005, 10:03 AM   #3
mephesto
LQ Newbie
 
Registered: Feb 2005
Posts: 13

Original Poster
Rep: Reputation: 0
<selfslappingmode>
thnx, should have spotted that myself :P works fine now.
</selfslappingmode>
 
  


Reply


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
FTP virtual users with different home directories remi Linux - Software 14 07-27-2009 11:20 AM
prevent directories from being renamed chibi Linux - Newbie 7 04-29-2005 11:24 AM
FTP Users are able to Traverse directories up to the root of my server stingay Red Hat 6 10-25-2003 03:22 AM
browsing directories - apache 1.3.x Marble Linux - Networking 3 05-14-2003 06:01 PM
Havin trouble allowing FTP users to access files and directories bripage Linux - Networking 9 04-15-2002 03:54 PM


All times are GMT -5. The time now is 12:40 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration