Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 07-22-2005, 12:33 PM   #1
Registered: Feb 2004
Location: Athens, Greece
Distribution: Gentoo,FreeBSD, Debian
Posts: 705

Rep: Reputation: 30
anonymous ftp to a specific directory - how?

I use fedora core 4 and vsftp. I'd like to know how i can make specific users to login in a specific directory and how i can restrict them there and the subdirectories. For example, i'd like "anonymous" to be logged and restricted in /var/ftp.
Maybe somebody can post his vsftpd.conf-if he uses vsftp.
Old 07-22-2005, 01:57 PM   #2
LQ Newbie
Registered: Jul 2005
Location: quebec
Distribution: fedora core 3
Posts: 2

Rep: Reputation: 0
about anonymous, it's quite simple.

add : anon_root=/var/ftp

to vsftpd.conf

for other users, depends if you're working in the virtual users way.

if you're not, you can use chroot_local_user=YES to root them in their home directory. this is dangerous.

you better use local_root=... to root them to a specific directory. of course they will all be root'ed to the same dir.

you can use user_config_dir=... to specify different options such as local_root for every users.

but my best advice is to visit


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Searching a specific directory for a specific extension? RoaCh Of DisCor Linux - Newbie 3 08-13-2005 03:28 PM
files uploaded to anonymous ftp not readable by anonymous TheOneAndOnlySM Linux - Software 2 11-04-2004 07:42 AM
anonymous ftp jgallas Linux - Newbie 10 08-14-2003 05:08 PM
Anonymous FTP? mikeshn Linux - General 4 06-08-2002 03:51 PM
wu-ftp confine real users to a specific directory thb Linux - Networking 1 02-06-2002 07:10 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:57 AM.

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