This is the mail archive of the
cygwin
mailing list for the Cygwin project.
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
- From: "Joel Harrison" <harr2969 at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 7 Aug 2007 16:43:31 -0400
- 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
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@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/