delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/07/12/06:55:39

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
Message-ID: <4E1C27EE.1010302@bridge-quest.com>
Date: Tue, 12 Jul 2011 14:54:38 +0400
From: Dmitry Bolshakov <dmitry DOT bolshakov AT bridge-quest DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.2.18) Gecko/20110616 Lightning/1.0b2 Thunderbird/3.1.11
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: cygwin's ssh/sshd and case insensitive user names in windows
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Hi

windows user names are case insensitive so I can be "bdimych" on one computer in domain and "Bdimych" on another
but ssh/sshd consider they are different users
so I could not just
ssh host1
but need to
ssh Bdimych AT host1

this was unexpected for me and I spent some time to understand this trick
I had solved the problem with
sed -i -e 's/bdimych/bdimych/i' /etc/passwd

I think it would be helpful if ssh-host-config and ssh-user-config would print some warning about it

-- 
With best regards
Dmitry Bolshakov

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019