This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: listen on port 22 but can't auth and login ??


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@sources.redhat.com
[mailto:cygwin-owner@sources.redhat.com] On Behalf Of jinhyuk choi
Sent: Saturday, August 18, 2001 1:57 AM
To: cygwin@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]