What you need is Venema's chrootuid program:
ftp://ftp.win.tue.nl/pub/security/chrootuid1.2.shar.Z
Is like /usr/sbin/chroot, but also starts the process as a different uid.
-Mitch
ps: I'm very insterested in the chroot jail with uid==0 case and have
been working in the background on some sysctl-controlled hacks
for this case. I had been waiting until 2.3 to bring them up
here though -- certainly nothing will happen before 2.2 so lets
not talk about it here. If there are others interested in this
cause please email me privately so I know where you are.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/