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: Thu, 27 Jun 2013 20:51:56 +0800

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

reply via email to

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