delorie.com/archives/browse.cgi | search |
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:from:to:subject:date:message-id:mime-version | |
:content-type:content-transfer-encoding; q=dns; s=default; b=qx0 | |
6RGxb+/OBcUR+Mavj9EdgBZlneA4+PMswTyF44Vg755QR/w/YWysBvkOMEaTXpfw | |
gsQEwQb4H33dJXPB+eyAGtUG1yeHh7efzqwvYWqCmsp4JO8CfG6doaWYZq20S31L | |
JbQDJnamVRtiYqSfuAVdMKLwG4TwMGKq9Uwf9z34= | |
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:from:to:subject:date:message-id:mime-version | |
:content-type:content-transfer-encoding; s=default; bh=G/p0y4AN2 | |
SRtFZ0mWLoVt+rrrfE=; b=IyZKq8J1ESgfF8BmZMHgpjq3nxn0hZYv48UaxCMus | |
Rvf4DhMCOApIlsxGrqACXsbVMnJq2Nluv2Y/jfUsyVi9ZqOuaQXaOyimP47zuZL7 | |
Is5UccYCIeJ4sq9NNSX7NbwYL8b4XVL6ZJuCoZfkvXGdUbdUR67plG84ou3tUfJ8 | |
kk= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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=0.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 |
X-HELO: | nskntmtas06p.mx.bigpond.com |
X-Authority-Analysis: | v=2.0 cv=W5W6pGqk c=1 sm=1 a=6VslrNzXsdlmF2QCmrgadw==:17 a=kj9zAlcOel0A:10 a=1IlZJK9HAAAA:8 a=kFYhSW9QQRb8GdjczlUA:9 a=CjuIK1q_8ugA:10 a=6VslrNzXsdlmF2QCmrgadw==:117 |
From: | "Max" <max DOT rockliff AT bigpond DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | Cygwin SSHD logon Error - Unable to load C:\Windows\System33\userenv.dll |
Date: | Tue, 10 Mar 2015 20:52:37 +0800 |
Message-ID: | <037a01d05b31$16574e90$4305ebb0$@bigpond.com> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Hi, Until recently and for about 2 years I have been successfully running the CYGWIN SSHD service on my Vista Home Premium standalone PC. It had been working well. I had 2 Windows user accounts, allowed to logon one using SSH: One a Windows Administrator (member of local group Administrators) and the other just a basic, unprivileged account. The admin account was setup with the standard shell and produced a $ prompt and worked, letting me login. The unprivileged account was given an custom shell script called no_shell (see below) which simply waited for an ENTER key then logged out immediately. This also worked well. The other day, I thought that I should upgrade my CYGWIN installation and commenced the process to download setup-x86.exe, execute and download and install from the Internet. The process took and extraordinary long time (hours!) and I killed and restarted several times. I finally chose to just download without install, then to run the install from the local downloaded copy. After doing this and seeing that the CYGWIN OpenSSHD service seems to be running. I get the following very weird problem. After restarting the PC I can logon using the basic user account quite successfully - I get the press ENTER to exit prompt, it pauses and logs out when I press ENTER. However, in any subsequent logon, I get the following error: 1 [main] sshd 4476 C:\cgwin\usr\sbin\sshd.exe *** fatal error - unable to load C:\Windows\system32\userenv.dll, Win32 error 1114 Connection to host closed. And it closes the terminal session immediately. This even happens in Cygwin Terminal, using the ssh user AT localhost command. Short of a more comprehensive Cygwin removal, I renamed the C:\CYGWIN folder and ran the setup again - problem persisted. I've also searched through the registry to find any Cygwin keys or values, but they all seemed quite simple and not to relate to userenv.dll, or C:\Windows\System32. A workaround for this seems to be to make the basic user a member of Administrators, which is highly undesirable, but it does allow the account to login. Short of removing Cygwin completely (don't know how to do that) and reinstalling completely fresh, I am at a complete loss to explain the symptoms. Here's what is in no_shell #!/bin/bash read -p "PRESS ENTER TO TERMINATE CONNECTION" TOTO exit Can anyone please help? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |