Mail Archives: cygwin/2001/02/07/18:55:24
On Thu, Feb 08, 2001 at 12:34:14AM +0100, Martin Lenze wrote:
> Hi,
> I've got problems with login and sshd on win2k and NT 4.0.
> If I try to login via ssh or with login to localhost I get "Invalid
> password" error, even when trying to log on to localhost.
> Both machines I have tested with are not belonging to any domain, so
> authentication should be local.
>
> Reading through the source of login 1.4 I found, that "HANDLE hToken =
> cygwin_logon_user( pwd, pp);"
> returns a true condition for the following if case "if ( hToken !=
> INVALID_HANDLE_VALUE)."
>
> But passwords are o.k. and /etc/passwd is also (rewritten with
> mkpasswd) regarding correct "SID"-Values comma seperated after the
> user name in the comment field.
Did you read /usr/doc/Cygwin/openssh-2.3.0p1.README?
Don't forget to set the user rights of the user starting the
application which tries to change the user context (sshd,
login) according to the above documentation. A similar hint
is in /usr/doc/Cygwin/inetutils-1.3.2.README.
Then I suggest reading the online user docs http://cygwin.com/docs.html
and especially the corresponding part in the NTSEC chapter
http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-SETUID
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin AT cygwin DOT com
Red Hat, Inc.
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
- Raw text -