X-Recipient: archive-cygwin@delorie.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.atzeri@gmail.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@cygwin.com
Subject: Re: sshd service will not start on Windows 7
References: <1359486853591-95750.post@n5.nabble.com> <51082B30.3020303@prager.ws>
In-Reply-To: <51082B30.3020303@prager.ws>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

