delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/08/09/13:56:23

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.5 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
From: "Uzzell, Stephan" <SUzzell AT MICROS DOT COM>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: child_info_spawn::worker: CreateWindowStation failed,in32 error 5
Date: Thu, 9 Aug 2012 17:55:54 +0000
Message-ID: <DF78EADE484D37419A53F5C898629DB72E1EC811@USMAIL2K1001.us.micros.int>
MIME-Version: 1.0
X-IsSubscribed: yes
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q79HuIPj000909

Hi all,

I'm struggling with a Cygwin / SSH connection issue, and I'm hoping someone can provide some insight. I'm fairly new to both Cygwin and SSH, so I may well be missing something obvious. I've installed Cygwin and configured SSH (using a domain cyg_server account), and I am able to connect. If I connect using the cyg_server account, everything works as expected:

$ ssh -l cyg_server MAMMDMDB01 'date'
cyg_server AT mammdmdb01's password:
Thu Aug  9 13:45:41 EDT 2012

If however I attempt another domain account, the connection goes through, but I get the above error:

$ ssh -l oinstall MAMMDMDB01 'date'
oinstall AT mammdmdb01's password:
      0 [main] sshd 4564 child_info_spawn::worker: CreateWindowStation failed, Win32 error 5
Thu Aug  9 13:49:29 EDT 2012

Both accounts have the same windows permissions:

C:\cygwin\bin>editrights.exe -l -u oinstall
SeTcbPrivilege
SeCreateTokenPrivilege
SeAssignPrimaryTokenPrivilege
SeIncreaseQuotaPrivilege
SeServiceLogonRight
SeBatchLogonRight

C:\cygwin\bin>editrights.exe -l -u cyg_server
SeTcbPrivilege
SeIncreaseQuotaPrivilege
SeCreateTokenPrivilege
SeAssignPrimaryTokenPrivilege
SeServiceLogonRight
SeBatchLogonRight

I added both to the /etc/passwd file using /bin/mkpasswd, both accounts have /home/ directories.

Advice? Thoughts?

Thanks!

stephan


Stephan Uzzell


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