Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-15-2003, 01:45 PM   #1
Registered: Sep 2002
Location: Seattle, WA
Distribution: Ubuntu
Posts: 101

Rep: Reputation: 15
vsftpd home directory

Is it possible to change the root directory for anonymous logins?

for instance, my current root directory for anonymous logins is /var/ftp. how can i change it to /var/ftp/pub ?

Thanks for the help
Old 03-15-2003, 08:40 PM   #2
Registered: Feb 2003
Location: Atlanta, GA
Distribution: RHAS 2.1, RHEL3, RHEL4, SLES 8.3, SLES 9, SLES9_64, SuSE 9.3 Pro, Ubuntu, Gentoo
Posts: 335

Rep: Reputation: 32
Hi Harpune,
In your vsftpd.conf file, look for the directive anon_root

from the man 5 vsftpd.conf we get:

This option represents a directory which vsftpd
will try to change into after an anonymous login.
Failure is silently ignored.

Default: (none)

I would guess just add a line like this
and you should be good. It should probably go before the other anon lines (anon_world_readable_only, anonymous_enable, etc) but I'm not sure if it makes a difference.

Old 03-16-2003, 10:58 AM   #3
Registered: Sep 2002
Location: Seattle, WA
Distribution: Ubuntu
Posts: 101

Original Poster
Rep: Reputation: 15
thanks forthe help.


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 - limit user to his/her home directory kaon Linux - Software 0 01-15-2005 12:32 AM
vsftpd access to non-home directory rwhart Linux - Newbie 1 02-10-2004 01:42 AM
VSFTPD - lock user to home directory ohleary Linux - Software 3 11-20-2003 02:04 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 > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:47 PM.

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