jailkit-users
[Top][All Lists]
Advanced

[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: Jianzhou
Subject: Re: [Jailkit-users] User can view files outside his own chroot directory
Date: Fri, 28 Jun 2013 10:59:09 +0800

Hello,

can we lock him to his own home directory ? Not able to let him browse outside his own directory?

currently, he can see the list of users in /home (in the jail container /backup/jail)
is this normal?



On Thu, Jun 27, 2013 at 8:51 PM, Jianzhou <address@hidden> wrote:
This is how it is like for multiple users in /etc/passwd

http://pastebin.com/iPQ4UkSJ


 are they suppose to be able to see /backup/jail/etc/passwd too??




On Thu, Jun 27, 2013 at 8:48 PM, Olivier Sessink <address@hidden> wrote:
On 06/27/2013 02:15 PM, Jianzhou wrote:
> Hello,
>
> he can see /backup/jail/etc/passwd
> but not /etc/passwd
>
> he can also see the list of of user accounts in /backup/jail/home/
>
> Is this normal?

if you have multiple users inside 1 jail, they can see each other
existence, and (if the directory permissions allow so) share files. You
can create a jail for each user without a problem, just make sure you
use hardlinks to avoid extra diskspace costs.

Olivier

--
Bluefish website http://bluefish.openoffice.nl/
Blog http://oli4444.wordpress.com/


_______________________________________________
Jailkit-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/jailkit-users



--
Best Regards,
Jianzhou



--
Best Regards,
Jianzhou

reply via email to

[Prev in Thread] Current Thread [Next in Thread]