LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

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

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.
thanks
 
Old 07-22-2005, 01:57 PM   #2
mikpaul
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 http://vsftpd.beasts.org/vsftpd_conf.html
 
  


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 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


All times are GMT -5. The time now is 11:13 AM.

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