[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SOLVED] chrooting a program not designed to be chrooted *is this safe*?
- To: <misc@openbsd.org>
- Subject: [SOLVED] chrooting a program not designed to be chrooted *is this safe*?
- From: "Ted Goodridge, Jr" <tedgoodridgejr@acm.org>
- Date: Mon, 3 Feb 2003 00:10:06 -0600
- References: <Pine.BSO.4.44.0301221901110.22958-100000@pyxis.cns.ualberta.ca>
I'm not sure how secure this is, but I wrote a C wrapper to allow any
program to run in a chroot'ed directory with reduced priveldges of choice.
The wrapper must be executed as root, but the given program will run at any
privelege you desire.
Is this safe?
Ted
[demime 0.98d removed an attachment of type application/octet-stream which had a name of chrootwrap.c]