Re: PRNG not seeded - error in non-root ssh inside 4.6.2 jails...

2002-10-11 Thread Firsto Lasto
No, /dev/urandom was already 666, and I just noticed that random was not, so I chmodded random 0666 and then the error changed from PRNG not seeded to "host key verification failed". I think there is some useful information in this last round of troubleshooting I did - the fact that the behav

Re: PRNG not seeded - error in non-root ssh inside 4.6.2 jails...

2002-10-11 Thread Firsto Lasto
Ok, I did this, and got the exact same results - first it says that PRNG is not seeded, and then I chmod 0666 /dev/urandom and then it tells me "host key verification failed". So, just in case I also did the opposite - I left random alone and set urandom to 2,3 so it behaves like random ... a

Re: PRNG not seeded - error in non-root ssh inside 4.6.2 jails...

2002-10-10 Thread Firsto Lasto
Do you mean recompile SSL using urandom instead of random ? Would it be the exact same effect if I simply changed my /dev/random to major/minor 2,4 instead of 2,3 ? It seems like that would be much easier... > > > Ok, I am not sure how I can do that though - I cannot successfully run > > `rn

Re: PRNG not seeded - error in non-root ssh inside 4.6.2 jails...

2002-10-03 Thread Firsto Lasto
Ok, I am not sure how I can do that though - I cannot successfully run `rndcontrol -s X` inside a jail. On the other hand, I already have: rand_irqs="9 10 11 13 14" In my rc.conf on the underlying host machine, and have done several boots with that in place. So presumably I should be seeded

Re: PRNG not seeded - error in non-root ssh inside 4.6.2 jails...

2002-10-03 Thread Firsto Lasto
I can't seed it by banging on the keyboard - it is a headless server in a rack thousands of miles from me :) Perhaps there is another way to do it ? >Date: Thu, 03 Oct 2002 21:54:30 +0100 > > > Sorry, here is the rest: > > > > Here is the output of the `dd` command using urandom: > > > > dd i

Re: PRNG not seeded - error in non-root ssh inside 4.6.2 jails...

2002-10-03 Thread Firsto Lasto
Sorry, here is the rest: Here is the output of the `dd` command using urandom: dd if=/dev/urandom of=/dev/stdout bs=512 count=1 | hexdump -C 1+0 records in 1+0 records out a0 69 1a 7c 8f 32 e5 21 ae 7a 33 14 68 0b 8e a6 |.i.|.2.!.z3.h...| 512 bytes transferred in 0.000472 secs (10

Re: related jail topic - /dev/null often and regularly reverts permissions...

2002-10-03 Thread Firsto Lasto
it's this which broke up /dev/null, then i re-runed sh ./MAKEDEV >and >everything was fine :) > >I don't know if my second run of MAKEDEV solved the problem (maybe it was >fixed >before I run it again, I don't exactly know) > >-- Aurélien > >On Thu, Oct 0

related jail topic - /dev/null often and regularly reverts permissions...

2002-10-03 Thread Firsto Lasto
If you run a jail, and inside that jail is a /dev with the file /dev/null in it, the normal 0666 permissions of /dev/null will often get changed to 0600. I cannot see any reason why this would happen - I thought maybe there was something in /etc/rc that would do it, but there is not. Further,

Re: PRNG not seeded - error in non-root ssh inside 4.6.2 jails...

2002-10-03 Thread Firsto Lasto
Ok, here you are - as a normal user (non root) inside the jail, I have run: $ dd if=/dev/random of=/dev/stdout bs=512 count=1 | hexdump -C dd: /dev/stdout: Permission denied $ ls -asl /dev/stdout 0 crw--- 1 root wheel 22, 1 Sep 3 21:46 /dev/stdout All of this was _after_ I ran the `

PRNG not seeded - error in non-root ssh inside 4.6.2 jails...

2002-10-02 Thread Firsto Lasto
Hello, I have found that if you create a jail in FreeBSD 4.6.2, and then log into that jail ... if you are root you can scp and ssh just fine. However if you are not root and you attempt to ssh or scp, you get this error: PRNG is not seeded A few details - first, I created my jail by simply