[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Jailkit-users] User can view files outside his own chroot directory
From: |
Olivier Sessink |
Subject: |
Re: [Jailkit-users] User can view files outside his own chroot directory |
Date: |
Thu, 27 Jun 2013 14:07:29 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4 |
On 06/27/2013 10:36 AM, Jianzhou wrote:
> Hello,
>
> For example, the user is /home/ww1
> he can view files & directories in /home or even /etc when sftp to the
> server.
if you did setup the jail correctly, this /etc/ is not the real one but
a fake one
>
> I like to lock him to his own directory (/home/ww1) only.
>
this is only possible if you make /home/ww1 the jail directory. The
software that a user uses needs to be visible to the user.
Olivier
--
Bluefish website http://bluefish.openoffice.nl/
Blog http://oli4444.wordpress.com/