X-Spam-Check-By: sourceware.org Message-ID: <9a6449f40708071343p19cd7d66ofd7c19f544462146@mail.gmail.com> Date: Tue, 7 Aug 2007 16:43:31 -0400 From: "Joel Harrison" To: cygwin@cygwin.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 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Hi Andrew, I must have cut out the step where I showed this before.. trying to edit for brevity. * From: "Andrew Louie" 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@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@gti0w042 /var $ mkpasswd.exe -d -u blackberry_svc >> /etc/passwd (Set up the domain account as the owner of empty) g000283@gti0w042 /var $ chown blackberry_svc empty/ (Also set up the domain account as the service startup account) g000283@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/