Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Reply-To: Cygwin List <cygwin@cygwin.com>
Message-Id: <6.2.0.14.0.20041204223252.04e7f2f8@pop.prospeed.net>
Date: Sat, 04 Dec 2004 22:35:25 -0500
To: Rodrigo de Salvo Braz <braz@uiuc.edu>, Cygwin List <cygwin@cygwin.com>
From: Larry Hall <lh-no-personal-replies-please@cygwin.com>
Subject: Re: User name with spaces and Cygwin web site suggestion
In-Reply-To: <Pine.GSO.4.58.0412042109100.6868@snow.cs.uiuc.edu>
References: <Pine.GSO.4.58.0412031735480.3808@snow.cs.uiuc.edu> <6.2.0.14.0.20041204183421.04800da8@pop.prospeed.net> <Pine.GSO.4.58.0412042109100.6868@snow.cs.uiuc.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

At 10:17 PM 12/4/2004, you wrote:
>Hi,
>
>I had a Windows XP user account whose name had spaces. The Cygwin web site
>says that you should change your account's user name to something without
>spaces and, if Cygwin is already installed, re-run mkpasswd. Even before I
>installed Cygwin, I changed my user name, but this did not solve the
>problem because the command id -un used in /etc/profile to determine the
>user continues returning the previous spaced user name. So I manually set
>HOME and USER to the right thing in /etc/profile and at least I got the
>home directory right and so on. But apparently some programs may still use
>id -un, as it is the case with ssh. Did I miss something or renaming the
>account really doesn't do anything to solve the problem?


Just change your user name in the first field of /etc/passwd.  That will
take care of it.



--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


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

