delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/09/13/08:35:27

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:to:from:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=wRk
bjBwXJ97W4e2LzKeRJUBYkKa+b7dzGW/fZeA1NBwKEDuqtqulOQqWsYrtavV9SgU
3GGkqjaDFmPjL26yaGHAUgaZ4qV3Z/f32b6AYXBHxoirRMHh46nKeGNxUIJJ6QTt
1QsHZoYO73KQZHh6h6dMP4Mb35hMVaqTf5laoaAc=
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:to:from:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; s=default; bh=wv/76BBqQ
49QQYoqN+wQY5pAA+o=; b=Y0qEDaGpcAmDBfQ5A+c0ZGcjozmw1HhgruUYEBoe4
yjJDVV6W+Ku29rnkdhhFW8Go5ygJQ5u5dviiZFDxG/PWDXnnA8iOb0SAUAp18S76
b7wn+oCqfrn63OFpB7wdFk1yS6V89wRbzCOpwrx299+dqlNO4u2n+rCxYDh22sJt
1o=
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.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=H*r:Unknown, dreaded
X-HELO: blaine.gmane.org
To: cygwin AT cygwin DOT com
From: Andrew Schulman <schulman DOT andrew AT epa DOT gov>
Subject: sshd login gives "unable to load user32.dll, Win32 error 1114"
Date: Wed, 13 Sep 2017 08:34:51 -0400
Lines: 29
Message-ID: <8v8irc9gkcih4duqnd20v3islg86ed8jnd@4ax.com>
Mime-Version: 1.0
X-Archive: encrypt
X-IsSubscribed: yes

When I try to log into sshd on one of my hosts as a particular user, I get the
dreaded

      2 [main] sshd 6444 C:\cygwin64\usr\sbin\sshd.exe: *** fatal error - unable
to load user32.dll, Win32 error 1114

I looked in the archives for this problem and found one discussion[1], which
referenced a FAQ[2] about using sshd in a domain. I don't have a domain, but I
went ahead and followed the instructions there anyway: On the server host I ran
(from an administrative shell)

editrights -u cyg_server -a SeTcbPrivilege
editrights -u cyg_server -a SeCreateTokenPrivilege
editrights -u cyg-server -a SeAssignPrimaryTokenPrivilege

then stopped sshd, reran ssh-host-config, and restarted sshd. I still get the
error.

Two users are allowed to log in to sshd - call them user1 and user2. user1 isn't
a member of the Administrators group, and does have this problem. user2 is a
member of Administrators, and doesn't have this problem.

Can anyone suggest something else to try?

Thanks,
Andrew

[1] https://cygwin.com/ml/cygwin/2012-02/msg00421.html
[2] https://cygwin.com/faq/faq.html#faq.using.sshd-in-domain


--
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

- Raw text -


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