X-Spam-Check-By: sourceware.org Message-ID: <5abc24640708071356g5d4e70d1w690093575c113071@mail.gmail.com> Date: Tue, 7 Aug 2007 16:56:25 -0400 From: "Andrew Louie" 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 In-Reply-To: <9a6449f40708071343p19cd7d66ofd7c19f544462146@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9a6449f40708071343p19cd7d66ofd7c19f544462146 AT mail DOT gmail DOT com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 8/7/07, Joel Harrison <> wrote: > ------------------------------- > 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? Im still unsure of your exact process here, but It is my understanding that sshd needs to be able to access /var/empty and /var/log. so if you want ssd to run as a service as a user account other than the system account, /var/log and /var/empty need to be accessible by that user as well. Im not exactly sure why though, I have no idea what /var/empty is supposed to be for or what it does. -- 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/