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 |
Hi Harpune,
In your vsftpd.conf file, look for the directive anon_root from the man 5 vsftpd.conf :study: we get: anon_root 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 anon_root=/var/ftp/pub 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. HTH! |
thanks forthe help.
|
All times are GMT -5. The time now is 10:04 AM. |