Welcome to WebmasterWorld Guest from 18.104.22.168
Forum Moderators: bakedjake
As quoted from long ago:
I'm setting up vsftpd for my site, and I want both local and anonymous logins. The only difference between anonymous and local logins should be the permissions associated with files and directories. Specifically, local users should be able to upload files, while anonymous users should not. The problem I am having is that by default, when the local users log in, they are chrooted to their /home/local_user directory. I thought that this was the purpose of the chroot_local_user directive, but setting this to YES or NO doesn't seem to change anything. So, my question is: Is the default behavior for vsftpd to chroot local users to the directory specified in /etc/passwd? If so, is there any way to change it to another directory without changing /etc/passwd? Is this behavior shared across all ftp servers, or just vsftpd?
Oops, looks like that was actually 3 questions. Oh well. Thanks in advance for any help.
I found out that most of the information provided is correct. However if you enable guest logins with guest_enable=YES in your vsftpd.conf then the system will default to jailing all users in the ftp directory.
I posted this hoping someone else wouldnt have to go through the vsftpd torment :)
That's a link from this website, not one of mine :)