delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/18/08:39:55

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Michael Erdely" <cygwin AT cygwin DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: listen on port 22 but can't auth and login ??
Date: Sat, 18 Aug 2001 08:39:55 -0400
Message-ID: <000301c127e2$e2d9eef0$1419a8c0@mercury>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.2616
In-Reply-To: <20010818055722.53036.qmail@web14202.mail.yahoo.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2526.0000
Importance: Normal

Windows ME is a bit different than NT.

You have to manually edit and add users to the /etc/passwd.  You control
the password field with the crypt command.  Mkpasswd only works on
NT/2000/XP machines.

So, Create a new /etc/passwd file like this:
user::500:1000:User:/home/user:/bin/bash

Then, run the crypt command:
crypt password

Copy the output and paste it between the "user:" and the ":500" in the
/etc/passwd file.

-ME

-----Original Message-----
From: cygwin-owner AT sources DOT redhat DOT com
[mailto:cygwin-owner AT sources DOT redhat DOT com] On Behalf Of jinhyuk choi
Sent: Saturday, August 18, 2001 1:57 AM
To: cygwin AT cygwin DOT com
Subject: listen on port 22 but can't auth and login ??

i created /etc/passwd with command mkpasswd -d domain
>/etc/passwd.
i executed ssh-host-config -y
and ssh-user-config -y -p 'xxxxxx'
so now my machine can run /usr/sbin/sshd.exe and
listen on port 22.
but, can only login from user unknown without
password, can't login from another michine or
securecrt.
I can not set hostname too.
i want to create root and normal user , and set
hostname, and login from another machine.
what should I read more??
win-me on fat32.



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