Re: [PATCH 0/3] Patches to enable chroot for all users

2013-03-20 Thread Casey Schaufler
On 3/20/2013 6:09 AM, tal.tchwe...@gmail.com wrote: > From: Tal Tchwella > > I want to suggest adding chroot capability to all users. It is much too easy to create an environment for tricking privileged programs using chroot to allow unprivileged processes to use chroot. /etc/shadow is your trivi

Re: [PATCH 0/3] Patches to enable chroot for all users

2013-03-20 Thread Rob Landley
On 03/20/2013 07:53:42 AM, Tal Tchwella wrote: I want to suggest adding chroot capability to all users. I note that chroot doesn't quite do what most people think it does: http://landley.net/notes-2011.html#02-06-2011 I've had a todo item forever to modify chroot to actually change the pr

[PATCH 0/3] Patches to enable chroot for all users

2013-03-20 Thread tal . tchwella
From: Tal Tchwella I want to suggest adding chroot capability to all users. The following patches enable that capability, while considering the security mechanism needed to disable escape routes for chroots by non-root users, and keeping chroot backward-compatible for root users. The first patch

[PATCH 0/3] Patches to enable chroot for all users

2013-03-20 Thread Tal Tchwella
I want to suggest adding chroot capability to all users. The following patches enable that capability, while considering the security mechanism needed to disable escape routes for chroots by non-root users, and keeping chroot backward-compatible for root users. The first patch establishes the conc