delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
X-Injected-Via-Gmane: | http://gmane.org/ |
To: | cygwin AT cygwin DOT com |
From: | Ryan Shaw <ryan DOT shaw AT stanfordalumni DOT org> |
Subject: | Japanese Windows login name and SSH |
Date: | Sun, 27 Jul 2003 12:12:32 -0700 |
Lines: | 39 |
Message-ID: | <bg186r$1oi$1@main.gmane.org> |
Mime-Version: | 1.0 |
X-Complaints-To: | usenet AT main DOT gmane DOT org |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030716 Thunderbird/0.1a |
X-Accept-Language: | en-us, en |
Hello, My Windows XP login name is in Japanese: $B%i%$%"%s(B As this is not a legal UNIX username AFAIK, I have the following in /etc/profile: export USER="ryan" export HOME="/home/ryan" I also changed the relevant line in /etc/passwd from this: $B%i%$%"%s(B:unused_by_nt/2000/xp:1004:513 :U-ICHIGO\$B%i%$%"%s(B,S-1-5-21-3595182962-3425862410-625958100-1004 :/home/$B%i%$%"%s(B:/bin/bash to this: ryan:unused_by_nt/2000/xp:1004:513 :U-ICHIGO\$B%i%$%"%s(B,S-1-5-21-3595182962-3425862410-625958100-1004 :/home/ryan:/bin/bash Note that I changed the username and home, but left the U-ICHIGO\$B%i%$%"%s(B part before the SID untouched. My CYGWIN environment variable is set to "tty ntsec". This seems to be working OK, except that password-based authentication is not working when I connect to my Cygwin sshd. Publickey authentication DOES work, however. I was wondering if perhaps the Japanese string in the additional pw_gecos field is the cause of the problem with password authentication. Thanks for your help, Ryan -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |