delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/01/30/07:37:08

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.9 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FORGED_YAHOO_RCVD,FREEMAIL_FROM,KHOP_THREADED,NML_ADSP_CUSTOM_MED,URI_HEX
X-Spam-Check-By: sourceware.org
Date: Wed, 30 Jan 2013 04:36:51 -0800 (PST)
From: misterblinky <misterblinky AT yahoo DOT com>
To: cygwin AT cygwin DOT com
Message-ID: <1359549388.9218.YahooMailNeo@web162704.mail.bf1.yahoo.com>
In-Reply-To: <51082C6E.5020409@gmail.com>
References: <1359486853591-95750 DOT post AT n5 DOT nabble DOT com> <51082B30 DOT 3020303 AT prager DOT ws> <51082C6E DOT 5020409 AT gmail DOT com>
Subject: Re: sshd service will not start on Windows 7
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 r0UCb4jm017612

So ... a) cyg_server *is* in the Administrator group in Windows; and b) I ran the editrights commands just in case. Same deal. "CYGWIN sshd service could not be started".

Oddly, "groups cyg_server" returns "None root" -- cygwin doesn't think it's in the administrator group. 

thanks for your thoughts ... any further suggestions?




________________________________
 From: marco atzeri-4 [via Cygwin] <ml-node+s1069669n95753h87 AT n5 DOT nabble DOT com>
To: misterblinky <misterblinky AT yahoo DOT com> 
Sent: Tuesday, January 29, 2013 3:10 PM
Subject: Re: sshd service will not start on Windows 7
 

On 1/29/2013 9:04 PM, Bernd Prager wrote: 
> On 1/29/2013 2:14 PM, misterblinky wrote: 
>> I installed cygwin on my windows 7 64-bit machine with openSSH and 
>> openSSL, 
>> nothing else. 

> Open Windows User Manager and check if cyg_server is in the 
> Administrators group. 
> My sshd does not start without this privilege. 
> Also I get a better error message if I do "net start sshd". 
> 
> Try it. Good luck. 
> -- Bernd 

these are the rights needed by cyg_server and set by ssh-host-config 

editrights -u cyg_server -a SeAssignPrimaryTokenPrivilege 
editrights -u cyg_server -a SeCreateTokenPrivilege 
editrights -u cyg_server -a SeTcbPrivilege 
editrights -u cyg_server -a SeServiceLogonRight 
editrights -u cyg_server -a SeIncreaseQuotaPrivilege 

sometime in Domain the policy reset them for security reason 

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



________________________________
 
If you reply to this email, your message will be added to the discussion below:
http://cygwin.1069669.n5.nabble.com/sshd-service-will-not-start-on-Windows-7-tp95750p95753.html 
To unsubscribe from sshd service will not start on Windows 7, click here.
NAML



--
View this message in context: http://cygwin.1069669.n5.nabble.com/sshd-service-will-not-start-on-Windows-7-tp95750p95765.html
Sent from the Cygwin list mailing list archive at Nabble.com.

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