/dev/urandom: Permission denied

Corinna Vinschen corinna@vinschen.de
Fri Jun 9 13:38:00 GMT 2000


Andrew Dalgleish wrote:
> 
> I am using NT Workstation 4 sp 5, cygwin 1.1.2 (2000/6/7), ntsec
> enabled.
> 
> If I log in as any account which does not have administrator privileges,
> I can't read from /dev/urandom.
> (I first noticed it when sshd failed to start after a clean re-install
> of everything.)
> 
> bash-2.04$ dd if=/dev/urandom of=foo bs=512 count=1
> dd: /dev/urandom: Permission denied
> 0+0 records in
> 0+0 records out

Hmm, this shouldn't happen with 1.1.2. I had patched that to
work with the machine keyset which should be provided by the
MS default provider.

If you would be able to track that down I would be glad.
I don't have a chance to check that on my NT4 system because
I'm not at home 'til Tuesday and I have only a Linux and a
W2K box here. I will try that on the W2K box this weekend
as well.

Corinna


More information about the Cygwin-developers mailing list