delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/03/08:13:07

X-Spam-Check-By: sourceware.org
Date: Sun, 3 Dec 2006 08:12:32 -0500 (EST)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: dsacks <dennis AT calico-consulting DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: system account files mystery
In-Reply-To: <7660562.post@talk.nabble.com>
Message-ID: <Pine.GSO.4.63.0612030808290.3853@access1.cims.nyu.edu>
References: <7626013 DOT post AT talk DOT nabble DOT com> <7627528 DOT post AT talk DOT nabble DOT com> <456F6C58 DOT 20504 AT cygwin DOT com> <7660562 DOT post AT talk DOT nabble DOT com>
MIME-Version: 1.0
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

Ugh, top-posting...  Reformatted.

On Sat, 2 Dec 2006, dsacks wrote:

> Larry Hall (Cygwin) wrote:
> >
> > dsacks wrote:
> >> fyi, this is all about trying to get sshd to accept incoming
> >> connections. I want to use winscp into my xp box to move files.
> >>
> >> I am very confused about what password sshd would use - does it use
> >> windows authentication or does it expect to find passwords in
> >> /etc/passwd? Can I choose?
> >
> > Password authentication is done through Windows.  Passwords on all
> > NT-based platforms come from Windows.
>
> Okay, hmmmm. So what is the secret to geting sshd working? It is
> running, but when I try to ssh in, it doesn't accept my domain password.
> Does it work with domain users or is there something special I need to
> do for that to happen?

I think Larry's answer was a bit too literal.  Yes, passwords come from
Windows, but for Cygwin to be able to get Windows to authenticate a given
user, that user (or, rather, that user's SID) has to be in /etc/passwd.
Now, domain users aren't added to /etc/passwd by default.  Read the
documentation on mkpasswd to find out how to add your domain users to
/etc/passwd.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for "nothing left to lose"...  -- Janis Joplin

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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