X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 	tests=BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Date: Sun, 22 Nov 2009 01:00:58 -0500
From: Ken Jackson <cygwin@jackson.io>
To: cygwin@cygwin.com
Subject: Re: Cannot run SSH
Message-ID: <20091122010058.70fd4328@travel>
In-Reply-To: <4B08D0B7.6060403@gmail.com>
References: <4B0894B3.1020300@gmail.com> 	<f4d6f44b0911211929r35d1f1e1y9bbdf80c03f95f9e@mail.gmail.com> 	<4B08B377.5000003@gmail.com> 	<20091122002436.461778cd@travel> 	<4B08D0B7.6060403@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Identified-User: {1030:box670.bluehost.com:jacksonp:jackson.io} {sentby:smtp auth 173.69.168.157 authed with io+jackson.io}
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Sat, 21 Nov 2009 23:48:39 -0600  baykusderki wrote:
> OK, try this:
> > chown root:root /var/empty
> >
> > Although, mine is owned by SYSTEM, so if that doesn't work, try:
> >
> > chown SYSTEM:root /var/empty
> >
> >    
> I tried both and got errors. it complained that there was no such
> user or group named root. So i tried "chown SYSTEM /var/empty" and it
> did not work.
...
> The passwd file lists these users properly as far as I can tell.

Is SYSTEM in /etc/passwd?  If not, I think that's a problem.  Even if
it's there, maybe it's wrong.  I would try the mkpasswd command to
recreate your passwd file (and might as well mkgroup to recreate
the /etc/group file).  They both write to stdout so you have to
redirect them: 

mkpasswd > /etc/passwd

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

