delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/09/11:13:06

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: ssh service staring problem "bad owner /var/empty" but not fixed
Date: Wed, 9 Oct 2002 11:12:46 -0400
Message-ID: <7BFCE5F1EF28D64198522688F5449D5AD63A22@xchangeserver2.storigen.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Scott Prive" <Scott DOT Prive AT storigen DOT com>
To: "Cygwin" <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g99FD5l01571

Hello,

I understand the problem I am about to ask is not uncommon, and I have made considerable effort to look for the answers in the archive...

On an up-to-date (today) Cygwin install, sshd refuses to start (the MS Management console gives a useless error). On other systems, I have installed Cygwin sshd and it worked fine (I have not done this "recently" though and I understand there have been changes to ssd of sorts).

When I first attempted this install some weeks back, I followed the guide at http://tech.erdelynet.com/cygwin-sshd.html

I didn't actually "run the permissions script" as the author had just days before, pulled down the script. I'm not sure if the other steps on this page complicate my problem, so I'll mention it.

The first thing I check is /var/log/sshd.log, and it's "bad owner or mode for /var/empty". OK, it's some sort of NT permissions issue. A Google search tells me /var/empty should be chmod 700 or 755 (it's 755).

grep /etc/passwd ssh shows ssh account is 1000:513, sshd privsep, home of /var/empty and shell of /bin/false

I've also tried chowning the directory as SYSTEM:SYSTEM (or 18:18).

I did notice in the MMC Groups panel, there is no VISIBLE group for "sshd", but there is a sshd user. My Google searches tell me there should be a group, so I attempt to add the group "sshd" and make "sshd" user a member. I get the error: "while attempting to create the group sshd on computer QA2000TEST: The account already exists". I get this error if I attempt to create the group "sshd" with or with-out the member "sshd".

I've Reinstalled openssh, and even selected Unininstall followed by Install in case there was a difference. The version of openssh I have is 3.4p1-5

I appreciate any help. I hope I have checked all of the obvious "gotchas" so I don't waste anyone's time. Thanks.

-Scott

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019