X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=uzy6XH65XyHhas6lPG3ugST2fm3qNuyZnP7X0Af00lGYkfSvL/0/u 0fHHrwvyX4AJebuMbxMB7tjkMa9jMg/wUxGgCGfMXUbcHHC5J9JGXl60Fd1qw5dg MU3D6OGu0l4+L/Qeqig14hBMrh2jLvXeITA6eKiKwHouDvqzsod7x4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=Bgz8X3VJsTBYgjEKT1OgmUrTPYw=; b=qeTCBLpsoDCHPzUF+BVLUq9Jzqfh 1qi4tJ4NmwVs4H1ccVlETOwffIDBn0NRb2Ao3QJuvVciq95nxbhnond4a5Lfe3kg 7XdDLql34DmMKWYE57KGrL9qi1sy36Tct9SZ6lzYyl5veWOstzrrjOizDvVDU62F f6eV/mP732yH5dI= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.6 required=5.0 tests=AWL,BAYES_50 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Wed, 11 Mar 2015 13:07:05 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Non-privileged use can't logon Message-ID: <20150311120705.GX5732@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <003601d05be4$d2574470$7705cd50$@rockliff AT bigpond DOT com> <20150311111729 DOT GW5732 AT calimero DOT vinschen DOT de> <004e01d05bf1$2897d730$79c78590$@rockliff AT bigpond DOT com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7kW37LRKoI6fR2de" Content-Disposition: inline In-Reply-To: <004e01d05bf1$2897d730$79c78590$@rockliff@bigpond.com> User-Agent: Mutt/1.5.23 (2014-03-12) --7kW37LRKoI6fR2de Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mar 11 19:47, Max Rockliff wrote: > Ok. Let's see if I can answer all your questions. >=20 > I'm logging on with a password > I'm running 32bit Vista Ultimate - Windows6.06.6002, Service Pack 2 (sorr= y, I think I said Home Premium before) > I installed the 32 Cygwin using setup-x86.exe > icacls c:/Windows/System32/userenv.dll produces the following > c:/Windows/System32/userenv.dll NT SERVICE\TrustedInstaller:(F) > BUILTIN\Administrators:(RX) > NT AUTHORITY\SYSTEM:(RX) > BUILTIN\Users:(RX) >=20 > For comparison the following is the output from an ls -l command on the s= ame file, but it appears o be similar. > $ ls -l c:/Windows/System32/userenv.dll > -rwxr-xr-x 3 Max None 108544 Apr 11 2009 c:/Windows/System32/userenv.dll >=20 > The local Windows account I'm using is call 'st' and it is a member of th= e Users group (which appears to have Read eXecute privilege, exactly the sa= me as the local group, Administrators. Hmmmm... Thanks for the info. > Any ideas? Depends. As for the actual cause why userenv.dll refuses to load, no. It's just a simple LoadLibrary call, nothing fancy. I just tried the same scenario on my local 8.1 test machine and logging in with an unprivileged account worked fine. I tried to come up with a workaround for the problem, though. I just uploaded a new developer snapshot to https://cygwin.com/snapshots/ Just fetch the latest 32 bit cygwin1.dll, http://cygwin.com/snapshots/x86/cygwin1-20150311.dll.xz Unxz it, chmod +x it. Stop all Cygwin processes. In Windows Explorer, open the C:\cygwin\bin directory. Rename the original cygwin1.dll to cygwin1.dll.ORIG. Move the new cygwin1-20150311.dll into place and rename it to cygwin1.dll. Retry your scenario. And please report back. Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --7kW37LRKoI6fR2de Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJVAC/pAAoJEPU2Bp2uRE+gEDoP/0tW+OYkT56mRgLD7mGPM993 WlJXr2o+2uWqyQMRvZ7Ulrv0NIdN+mJaPjAjfJmCHPlNf3fO47dnAhblvajGc9rD AI5zsl2jhGVLBxozcj0QGBxb0w+o5wDV6YyTxuqcPd4CCXLx2wpnrSYIickgjxzV wLrhxL4AAAagTQ0IsQSc62CWrVp/VWhA0IyEHVJ0vufyWI961MTq4SKvTFcyTtoB gPbgdr8SNYBLWMFpMu08cPl/xDusodG19KI1w29xSScp1MBPXQxUXc9A+76G21KW pd0Y/7KvOUKpKoHXD6roeimQLCFNSKBJ5fchMLTE1DKaTgUme2kN7IPQZDlehiS/ mcG366xKWscdAjs4ZjLhIbwUSN2NeBRc/BVqzGyX4ETlYJcqZ5pijsHAQVVft4I5 t6aVal9PgDWiQQbmlWi1ELdd82aBYVY2YMnllpuhvSLgd7lUrh08JfJmh5oi+uOp svcFTtfOg3UQPlfR9y/I52mGjx+uWSVtCoyDkTiQ1uQV4NwlxzAkecysGYmMkRak SbzT2u+rhNIJjvN66/P87j9ty7COGVENbVFNmDP4JAcp3vcl4f/ncTQQuurPuVzz WFxJJ3x+DtyPc/cLNE+5EEeVQhuYEedR/j33aD6owoN9knjUldqi3YxdCJAkPAnO m4ac/M+faUMqsWn3wT+N =eV3p -----END PGP SIGNATURE----- --7kW37LRKoI6fR2de--