www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/22/01:11:59

X-Recipient: archive-cygwin AT delorie DOT 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 AT jackson DOT io>
To: cygwin AT cygwin DOT com
Subject: Re: Cannot run SSH
Message-ID: <20091122010058.70fd4328@travel>
In-Reply-To: <4B08D0B7.6060403@gmail.com>
References: <4B0894B3 DOT 1020300 AT gmail DOT com> <f4d6f44b0911211929r35d1f1e1y9bbdf80c03f95f9e AT mail DOT gmail DOT com> <4B08B377 DOT 5000003 AT gmail DOT com> <20091122002436 DOT 461778cd AT travel> <4B08D0B7 DOT 6060403 AT gmail DOT com>
Mime-Version: 1.0
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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

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

- Raw text -


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