/dev/random in jails

Tech Valley Internet - Tony Kivits tony at techvalley.ca
Thu Jul 19 05:02:49 UTC 2007


At 09:50 PM 7/18/2007, Christopher Cowart wrote:
>On Wed, Jul 18, 2007 at 09:49:12PM -0700, Christopher Cowart wrote:
> > $ dd if=/dev/random bs=1 count=12 2>/dev/null | openssl base64
> > Should give you a base64 encoding of some random data (base64 to prevent
> > it from messing up your terminal) if /dev/random is working.
>
>I meant to point if=jailroot/dev/random. Testing /dev/random for the
>host OS isn't going to be too meaningful.
>
>--
>Chris Cowart
>Lead Systems Administrator
>Network & Infrastructure Services, RSSP-IT
>UC Berkeley
>

Thanks Chris,

I figured out what you meant.  ;)

I think with all my playing I managed to put a symlink in the dev 
directory that I can't get out.

I will try to do a reinstall of the machine and try all the 
suggestions on a clean environment.

Tony 



More information about the freebsd-questions mailing list