Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com Message-ID: <39439C87.655257D2@vinschen.de> Date: Sun, 11 Jun 2000 16:04:55 +0200 From: Corinna Vinschen Reply-To: cygdev Organization: Cygnus Solutions, a Red Hat company X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.14 i686) X-Accept-Language: de, en MIME-Version: 1.0 To: Andrew Dalgleish CC: cygdev Subject: Re: /dev/urandom: Permission denied References: <00F8D6E8AB0DD3118F1A006008186C9611F764 AT server1 DOT axonet DOT com DOT au> <3941557E DOT 9B01271C AT vinschen DOT de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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