This is the mail archive of the
cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: /dev/urandom: Permission denied
- To: Andrew Dalgleish <andrewd at axonet dot com dot au>
- Subject: Re: /dev/urandom: Permission denied
- From: Corinna Vinschen <corinna at vinschen dot de>
- Date: Sun, 11 Jun 2000 16:04:55 +0200
- CC: cygdev <cygwin-developers at sourceware dot cygnus dot com>
- Organization: Cygnus Solutions, a Red Hat company
- References: <00F8D6E8AB0DD3118F1A006008186C9611F764@server1.axonet.com.au> <3941557E.9B01271C@vinschen.de>
- Reply-To: cygdev <cygwin-developers at sourceware dot cygnus dot com>
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