[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Jailkit-users] Hiding jail file outsid of home directory
From: |
Olivier Sessink |
Subject: |
Re: [Jailkit-users] Hiding jail file outsid of home directory |
Date: |
Fri, 5 Mar 2010 10:26:06 +0100 (CET) |
User-agent: |
SquirrelMail/1.4.13 |
> Hi,
>
>
>
> Great tool for chrooting. I have setup a jail which only allows scp and
> ssh.
> All works fine what I want to know is there a way to hide the jail file
> outside of users home environment?
>
>
>
> As I don't want them to be seen by clients uploading files with sftp/scp
the users need access to ther other files in the jail. If the user doesn't
have the rights to see sftp-server for example, the sftp session will not
function.
However, you can try to play with the permissions of /home (assuming your
users are in /home/username). You might want to remove read or execute on
/home (I'm not sure which is required).
Olivier