This is the mail archive of the cygwin-developers@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: /dev/urandom: Permission denied


Corinna Vinschen wrote:
> 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.

I could reproduce that behaviour with W2K and after diving
into MSDN I finally came up with a patch to cygwin.

I have just checked in that patch which should solve the
problem. Would you mind to give it a try?

Corinna

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]