LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-18-2005, 04:51 AM   #1
dwynter
Member
 
Registered: Jun 2002
Distribution: Centos 4.4
Posts: 82

Rep: Reputation: 15
Setting up ftp only users in non std directories


Hi,

I want to setup on a Linux server (Centos 4.1) accounts for folk that will only be allowed ftp and not in the standard /home/username directory. I have an application that will produce files for users in their own home directories and a few sub directories. The directory that the application uses as a base is /var/ftp under which each user has there own directories, e.g. user with login name bibi would have /var/ftp/bibi. I don't want that user to be able to navigate (do 'cd ..' for example or 'ls ../' outside that directory or its sub direcotries.

I am not sure how to go about this, so advice on which man pages might need to be read and general approach are most welcome.

Thanks,

David
 
Old 12-19-2005, 05:03 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,569

Rep: Reputation: 171Reputation: 171
Which ftp server would you use? Ther are ones (like pure-ftpd) that have virtual users and options to set pretty strict policy.

Quote:
I don't want that user to be able to navigate (do 'cd ..' for example or 'ls ../' outside that directory or its sub direcotries.
It's called 'chrooting'. Doable, but in different ways, depending on the FTP server software.
 
  


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
FTP users prevent browsing to other directories mephesto Linux - Software 2 05-07-2005 10:03 AM
setting up VSFTP for individual users and directories filch Linux - Software 0 05-12-2004 11:35 PM
FTP Users are able to Traverse directories up to the root of my server stingay Red Hat 6 10-25-2003 03:22 AM
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 02:53 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration