PDA

View Full Version : vsftpd virtual&local users


sstone
2005-03-02, 01:19 PM CST
Is there any chance to make vsftpd treat local users like local, not like virtual when virtual users are enabled. When I connect as a local user I'm jailed in the same directory as the virtual one is.

byw
2005-03-02, 01:36 PM CST
So you don't want to be able to see the whole hard drive right?
I added
chroot_local_user=YES
to the vsftpd.conf, that worked for me

sstone
2005-03-02, 01:48 PM CST
no, no, I already jailed the users in their home dir, but since i added virtual users and enabled them in vsftpd config all users, virtual and local are all jailed in the virtual user home dir.
I read this in the faq:
Note - currently there is a restriction that with guest_enable enabled, local
users also get mapped to guest_username.
I'm wondering if is there some trick to overrule this.

Anyway thanks for your post byw