Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PRNG not seeded for non-root users

Status
Not open for further replies.

hornetbloke

Technical User
Aug 12, 2002
26
NL
I got prngd, openssl and openssh working but I can only ssh or scp out as root user and not as any of the others. If I try as non-root user I get the "PRNG is not seeded" reply. Has anyone come across this problem before? Any help is much appreciated.
 
Hi,

I cannot get it working for non-root users nor root. Do you have any suggestions for me? Im running it on Solaris 8

Thanks
 
All I did after install was create a directory called /var/spool/prngd and then cat lots of logfiles into the /usr/local/etc/prngd/prngd-seed file. Then you just run: /usr/local/sbin/prngd /var/spool/prngd/pool and it should work after a pause, the length of which varies due to the size of the seed file and the speed of your machine.
 
I had similar problems with the message: PRNG is not seeded and was able to resolve it by creating a directory in /dev called urandom and then creating a link to /var/spool/prngd/pool in it.
In other words...

mkdir /dev/urandom
cd /dev/urandom
ln -s /var/spool/prngd/pool pool

I found several references to the urandom directory being required by ssl for random number generation, so I did these steps and everything worked just fine... Brantley
 
There is a patch for Solaris 8 that addresses this error - I believe it is 112438-01
Worked for me....
Rick
 
Getting prngd running wasn't actually the problem for me, it was the fact that non-root users were getting the "prng not seeded" message. I solved the problem in the end by adding "r" permissions for group and others to the files: /devices/pseudo/*rand*
Just as an aside, I found if much quicker creating an actual seed file and filling it with log messages and stuff then linking it to /dev/urandom.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top