delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/06/11/10:06:04

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
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 <corinna AT vinschen DOT de>
Reply-To: cygdev <cygwin-developers AT sourceware DOT cygnus DOT com>
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 <andrewd AT axonet DOT com DOT au>
CC: cygdev <cygwin-developers AT sourceware DOT cygnus DOT com>
Subject: Re: /dev/urandom: Permission denied
References: <00F8D6E8AB0DD3118F1A006008186C9611F764 AT server1 DOT axonet DOT com DOT au> <3941557E DOT 9B01271C AT vinschen DOT de>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019