This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Japanese Windows login name and SSH


Hello,

My Windows XP login name is in Japanese: ライアン

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:

ライアン:unused_by_nt/2000/xp:1004:513
:U-ICHIGO\ライアン,S-1-5-21-3595182962-3425862410-625958100-1004
:/home/ライアン:/bin/bash

to this:

ryan:unused_by_nt/2000/xp:1004:513
:U-ICHIGO\ライアン,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\ライアン 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]