Root cannot access /dev/urandom

Posted by Darren Newton on Ask Ubuntu See other posts from Ask Ubuntu or by Darren Newton
Published on 2011-03-12T21:36:11Z Indexed on 2011/03/13 0:19 UTC
Read the original article Hit count: 345

Filed under:
|

I am trying to generate a GPG key, and I cannot generate enough entropy. So I installed rng-tools and tried following these instructions: http://serverfault.com/questions/214605/gpg-not-enough-entropy

When I am logged in as root, and try to run rngd -r /dev/urandom I get the following error: can't open /dev/random: Permission denied

I find this disturbing as I am root.

This is Ubuntu on a virtual server (via Parallels I believe.)

© Ask Ubuntu or respective owner

Related posts about permissions

Related posts about root