www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/22/00:49:52

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4B08D0B7.6060403@gmail.com>
Date: Sat, 21 Nov 2009 23:48:39 -0600
From: baykusderki <baykusderki AT gmail DOT com>
Reply-To: baykusderki AT gmail DOT com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1b2pre) Gecko/20081118 Shredder/3.0b1pre Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Cannot run SSH
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>
In-Reply-To: <20091122002436.461778cd@travel>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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 only time it(/usr/sbin/sshd)  does not complain about the 
folder rights is when I just delete the "empty" folder and create "mkdir 
/var/empty" , straight with my admin account in the command line. The 
sshd starts ok by firing /usr/bin/sshd. It seems to be listed in the 
task list but none of the service running commands work, neither trying 
to run it from the Windows service panel. I can login as "ssh 
localhost", but none of the other defined users or networked computers 
can connect to it. The passwd file lists these users properly as far as 
I can tell.

here I am trying to login to ssh the first time(test purpose). Normally 
it is supposed to create the home folder and give me a ncie cozzy welcome.

"$ ssh ubun AT localhost
ubun AT localhost's password:
Permission denied, please try again.
ubun AT localhost's password:
Could not chdir to home directory /home/ubun: No such file or directory
/bin/bash: Permission denied
Connection to localhost closed.
"


thanks





--
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