delorie.com/archives/browse.cgi | search |
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.195.13.200 with SMTP id fa8mr4701698wjd.15.1359489393063; Tue, 29 Jan 2013 11:56:33 -0800 (PST) |
Message-ID: | <5108296D.5070007@gmail.com> |
Date: | Tue, 29 Jan 2013 20:56:29 +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> |
In-Reply-To: | <1359486853591-95750.post@n5.nabble.com> |
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 8:14 PM, misterblinky wrote: > I installed cygwin on my windows 7 64-bit machine with openSSH and openSSL, > nothing else. > > I then install sshd via ssh-host-config. I have tried with privilege > separation and without it. best way is with separation > The end result is the same: I cannot start sshd > as a service (via net start sshd). When I do, I get the message "The CYGWIN > sshd service could not be started." I agree MS is a disaster as log message .. > > The messages I've gotten in /var/log/sshd.log has varied. Most often, I've > gotten the message "/var/empty must be owned by root and not group or > world-writable". But I just did another clean install of cygwin and went > through the process again and there are no messages in sshd.log though the > server reports as usual that it cannot be started. (NOTE: I'm not suggesting > that the results change even though i go through the same steps -- I'm > trying different combinations of suggestions found on the web, sometimes > with slightly different results, but always with the sshd server not > starting.) > > I've removed and clean installed cygwin probably 30 times, trying different > tweaks. > > Here are some more details: > > In ssh-host-config interaction, I chose to create the privileged users > cyg_server. After installing, as expected cyg_server is the owner of these > files/dirs: > > /var/empty > /etc/ssh* > > Also, I changed permissions to /var/log and /var/log/sshd.log to 777 just to > ensure that access to this wasn't blocked. I also tried various options > (like chown-ing these to cyg_server). > > The service is configured to run under .\cyg_server with the proper > password. > > I always install cygwin as "Administrator" and I open my cygwin console as > "Administrator". > > whoami gives me my windows login name as expected. However, NOT as expected > the "groups <my-id>" command doesn't say that I'm in the Administrator > group, which I am. It shows only "Domain Users". I've tried some workarounds > suggested for "Domain Users" and none have succeeded what about just "groups" ? > > I've worked at this for 3 days (!!) and now I'm just dizzy and need some > knowledgable help. > > thanks in advance for your time/thoughts > see > Problem reports: http://cygwin.com/problems.html please post the "cygcheck -s -v -r > cygcheck.out" output, just to see if something else is wrong. As you are a "Domain User" I will not be surprised if some Domain policy is blocking you. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |