delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <9a6449f40708071343p19cd7d66ofd7c19f544462146@mail.gmail.com> |
Date: | Tue, 7 Aug 2007 16:43:31 -0400 |
From: | "Joel Harrison" <harr2969 AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: sshd not working on nineteen w2k servers (/var/empty must be owned by root) works on five win2k servers, works with svc acct and works on w2k3 |
MIME-Version: | 1.0 |
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 |
Hi Andrew, I must have cut out the step where I showed this before.. trying to edit for brevity. * From: "Andrew Louie" <louiea at gmail dot com> On 8/7/07, Joel Harrison <> wrote: > $ ls -l > total 0 > drwxr-x---+ 3 g000283 mkgroup-l-d 0 Aug 7 09:14 cache > drwxr-xr-x+ 2 SYSTEM root 0 Aug 7 09:17 empty > drwxr-x---+ 3 g000283 mkgroup-l-d 0 Aug 7 09:13 lib > drwxr-x---+ 2 g000283 mkgroup-l-d 0 Aug 7 09:17 log > drwxr-x---+ 2 g000283 mkgroup-l-d 0 Aug 7 09:12 run > drwxr-x---+ 2 g000283 mkgroup-l-d 0 Aug 7 09:12 tmp is /var/log/sshd.log readable and writable by the SYSTEM account? ------------------------------- Here's my test process: Clean install + ssh host config .. then: $ chmod -R 777 log g000283 AT gti0w042 /var $ net start sshd The CYGWIN sshd service is starting. The CYGWIN sshd service could not be started. The service did not report an error. More help is available by typing NET HELPMSG 3534. (Ok that didn't work, so import my domain acct that's a local admin) g000283 AT gti0w042 /var $ mkpasswd.exe -d -u blackberry_svc >> /etc/passwd (Set up the domain account as the owner of empty) g000283 AT gti0w042 /var $ chown blackberry_svc empty/ (Also set up the domain account as the service startup account) g000283 AT gti0w042 /var $ net start sshd The CYGWIN sshd service is starting. The CYGWIN sshd service was started successfully. Presto... why did I need to do that? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |