PDA

Bekijk de volledige versie : sftp versus vsftp and root directory



gdraanen
16-02-2007, 10:01
I have a wl-hdd with samba, vsftpd, and the openssh stuff. (all working)

Both samba (xinetd) and vsftp have config files
vsftp allows me to setup a chroot for specific users

But
since sftp is built 'on top' of ssh this seems to work different, and a logged-in user is dropped in his 'home' directory, and can "cd .." to start poking around.

I'd like to be able to chroot (or equivalent) a specific user to his home-dir.

==> How/Where ?? (What are my options ?)