delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/01/29/15:09:45

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-5.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_SPAMHAUS_DROP,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
X-Received: by 10.180.85.103 with SMTP id g7mr4560078wiz.29.1359490163405; Tue, 29 Jan 2013 12:09:23 -0800 (PST)
Message-ID: <51082C6E.5020409@gmail.com>
Date: Tue, 29 Jan 2013 21:09:18 +0100
From: marco atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: sshd service will not start on Windows 7
References: <1359486853591-95750 DOT post AT n5 DOT nabble DOT com> <51082B30 DOT 3020303 AT prager DOT ws>
In-Reply-To: <51082B30.3020303@prager.ws>
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

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

- Raw text -


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