If you are using vftpd then this trick will do. Add the following the
/etc/vsftpd.conf
chroot_list_enable=yes
chroot_list_file=/etc/vsftpd.chroot_list
Then add the users you want to chroot in /etc/vsftpd.chroot_list
regards,
Krishna
RHCE
Network/Systems Engineer
Spectranet
http://www.krisindigitalage.com
Is there a way I can set a default directory outside of the home directory for users ftp'ing over ssh (sftp)? Basically like you can with most (if not all) ftp servers, so that when the user logs in, he starts in that directory, and cannot move around above that directory.
--
By-Tor.com
It's all about the Rush
http://www.by-tor.com
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list