[TAG] lpr works for user not root in Basiclinux 2.1

Kapil Hari Paranjape kapil at imsc.res.in
Mon Mar 5 20:16:15 MSK 2007


Hello,

On Mon, 05 Mar 2007, Sindi Keesan wrote:
> A couple of new puzzles which I need help with:
> 
> "PRNG is not seeded" when I try to ssh.
> ssh -v provides no further information.
> 
> An internet search reveals:
> "If you do not have /dev/random on your system you will get a "PRNG not 
> seeded" error message.
> 
> We don't have it but I could mknod /dev/random c 1 8.
>
> PRNG is still not seeded.
>
> It did not help to make /dev/random o+w or o+x.

You generally need read access to /dev/random. It amy also be
necessary to use /dev/urandom (mknod /dev/urandom c 1 9).

Of course both these devices will not work if the kernel's random
number support is unavailable (I think Linux 2.0 added this support
but I am not sure).

> In BL3 (which ssh works only for root) they are owned by user 500 (user 
> is in a group called 500). Should it be 500 500 instead?

There is also the need to create .rnd in the $HOME directory. So the
$HOME directory has to be readable/writable by the user who is making
use of "ssh".

Regards,

Kapil.
--






More information about the TAG mailing list