X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=0.8 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
X-Received: by 10.14.216.70 with SMTP id f46mr15588585eep.12.1359555205366; Wed, 30 Jan 2013 06:13:25 -0800 (PST)
In-Reply-To: <1359549388.9218.YahooMailNeo@web162704.mail.bf1.yahoo.com>
References: <1359486853591-95750.post@n5.nabble.com>	<51082B30.3020303@prager.ws>	<51082C6E.5020409@gmail.com>	<1359549388.9218.YahooMailNeo@web162704.mail.bf1.yahoo.com>
Date: Wed, 30 Jan 2013 15:13:25 +0100
Message-ID: <CAPUpn4j=AkJovtKvwcPwcdEruYUAENvsLiQZaYwaxu+2Mo-2UQ@mail.gmail.com>
Subject: Re: sshd service will not start on Windows 7
From: David Carricajo <david.carricajo@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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 Wed, Jan 30, 2013 at 1:36 PM, misterblinky <misterblinky@yahoo.com> wrote:
>
> 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?
>

The mmc "Event viewer" under the label System should give you more
information about the offending service. If you installed cygwin and
then created the user cyg_server, then you should check if it's
available in /etc/passwd (most probably it's there). Can you start the
process by issuing the command '/usr/sbin/sshd'?, the problem with
/var/empty is because of this
http://cygwin.com/ml/cygwin/2008-02/msg00437.html, you need to change
permissions to all those folders.

Also, you don't need to reinstall sshd at every attempt, you may use
"cygrunsrv --remove sshd"

Regards

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

