home | list info | list archive | date index | thread index

Re: [OCLUG-Tech] jailing users?

On Wed, Jan 18, 2006 at 03:57:24PM -0500, jbuburuz [ at ] sce [ dot ] carleton [ dot ] ca wrote:

> test:x:1002:1002:Jerry,,,:/home/test:/usr/lib/sftp-server
> How do I disable/prevent user from doing this: "cd .." "cd /"? Basically
> leaving there home directory and view other peoples directories in /home?

As far as I know, the only way would be to build a custom sftp-server
binary that does a chroot() before anything else.

Attachment: signature.asc
Description: Digital signature


message navigation