Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
Put
Code:
passwd_chroot_enable=YES
in
Code:
/etc/vsftpd.conf
and restart vsftpd. That chroots each user to the directory specified in /etc/passwd. If you want to chroot a user to another directory than his home directory, simply put a dot (.) in the path to his home directory in /etc/passwd:
admin:x:1000:1000:admin:/home/./admin:/bin/bash
would chroot the user admin to /home instead of /home/admin.
Recent comments
1 day 2 hours ago
1 day 9 hours ago
1 day 13 hours ago
1 day 15 hours ago
1 day 23 hours ago
2 days 8 hours ago
2 days 9 hours ago
2 days 13 hours ago
2 days 17 hours ago
2 days 18 hours ago