delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/27/18:15:28

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
MIME-Version: 1.0
Subject: SSH, SFTP, and NTSEC
Date: Mon, 27 Dec 2004 15:17:19 -0800
Message-ID: <B4A0921B3F6A404691C07A9E9BE1B3E2137FF0@SEA-EXCHVS-2.telecomsys.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Bryan Love" <BLove AT seattle DOT telecomsys DOT com>
To: <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id iBRNFQt5023410

I've researched this topic online for days and it seems like every one has their own solution or their own idea about how user authentication works in Cygwin.

What I CAN'T seem to find is a simple description of exactly what happens when a user tries to log in via SSH.  What is the flow of Cygwin's authentication process?  I assume it checks /etc/passwd and /etc/group, then somehow validates against Windows passwords.  But how?? Does it check passwd or group first?  Does the user have to have a group?  How does Cygwin compare groups in the group file to groups in Windows?

My problem is simple... I have users that I created that cannot log in via SSH unless I make them members of the Windows ADMINISTRATORS group on the Windows 2003 server that is running Cygwin.  I've tried everything I can think of and lots of stuff from other people that I could never have thought up myself.

Can anyone explain in detail the steps Cygwin goes through to authenticate a user via SSH?

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