public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* sshd login gives "unable to load user32.dll, Win32 error 1114"
@ 2017-09-13 12:35 Andrew Schulman
  2017-09-13 12:46 ` Ken Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Schulman @ 2017-09-13 12:35 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-09-14  9:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-13 12:35 sshd login gives "unable to load user32.dll, Win32 error 1114" Andrew Schulman
2017-09-13 12:46 ` Ken Brown
2017-09-14  9:21   ` Andrew Schulman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).