GPG in a chroot env

David Shaw
Thu Jul 12 20:01:02 2001

On Thu, Jul 12, 2001 at 11:51:51AM -0500, Frank Tobin wrote:

> Werner Koch, at 08:39 on 12 Jul 2001, wrote:
> > Has no one done this before? Or does it just not work?
> GnuPG is a pretty standard Unix program and should not have problems
> if you run it chrooted. You just have to take the usual steps to make
> a program run there. As you probably don't have access to the tty you
> should use the option --no-tty.
> What about /dev/random access?
Since /dev/random is a device, can't you just mknod another one within the chroot jail? David -- David Shaw | | WWW +---------------------------------------------------------------------------+ "There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence." - Jeremy S. Anderson