Re: chrooting SFTP

From: Robin (robin_at_mhfm.cjb.net)
Date: 01/16/04


Date: Fri, 16 Jan 2004 17:51:44 +0100


"Tom" <tomNOSPAM@teameazyriders.com> schreef in bericht
news:1074270536.5143.0@dyke.uk.clara.net...
> Hi,
>
> Anyone know how to restrict SFTP users to not go above their login
directory? I can do this fine in FTP using wu-ftp but no idea in
> SFTP and can't seem to google a solution either.
>
> thanks
>
> Tom

Is sftp the same as vsftpd?
I only know how to do it in vsftpd :P
I have this in my conf file to do it:

# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
chroot_local_user=YES
chroot_list_enable=YES
# (default follows)
#chroot_list_file=/etc/vsftpd.chroot_list