LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 10-04-2009, 08:07 AM   #1
cpthk
Member
 
Registered: Aug 2009
Posts: 31

Rep: Reputation: 15
vsftpd anonymous user cannot see directory other than chroot?


I am setting up vsftpd.

I have setting in short:
Code:
anonymous_enable=YES
local_enable=YES
I found that anonymous account will be locked in chroot directory, which is /home/ftp. If I login as local account, then I could go out of the directory to view the whole system drive. But I did not set anonymous to be locked in chroot directory, I understand it's a security reason. But what if I intended to do that as a practice? How do I do that? Is it even possible? I can't seems to find any relate config option to override that.

Thanks.
 
Old 10-05-2009, 01:19 AM   #2
madmadmod
Member
 
Registered: Sep 2009
Distribution: Fedora, Red Hat
Posts: 52

Rep: Reputation: 18
Hi

not 100% sure if you understand your problem. But i think you could change the home directory of anonymous to "/". Just add the following line to vsftpd.conf:

anon_root=/

well, imho this is very very bad configuration!
 
Old 10-05-2009, 02:23 AM   #3
cpthk
Member
 
Registered: Aug 2009
Posts: 31

Original Poster
Rep: Reputation: 15
is it possible that by default anonymous still go to /home/ftp, but anonymous user can go up to other directory?

Thanks.
 
  


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
vsftpd chroot, want to allow a directory from elsewhere 60s TV Batman Linux - Security 5 06-16-2007 08:59 AM
VSFTPD Anonymous User saxsd Linux - Security 7 02-28-2006 02:47 AM
anonymous user cannot up/download in vsftpd Belize Linux - Software 2 04-02-2004 08:58 PM
vsFTPd: howto keep a user in his home directory jonnyz Linux - Networking 1 06-20-2003 02:06 PM
vsftpd home directory and chroot avante Linux - Networking 4 03-17-2003 01:56 AM


All times are GMT -5. The time now is 05:19 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