X-Spam-Check-By: sourceware.org
Message-ID: <45FB09D6.9030105@gmail.com>
Date: Fri, 16 Mar 2007 17:19:18 -0400
From: Robert Peaslee <peasleer@gmail.com>
User-Agent: Thunderbird 2.0b2 (Windows/20070116)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Bug Report: Purging Old and Invalid User Names With Spaces
References: <297343D29C14AA4D822142893ABEAEF302DDE6EE@srv1163ex1.flightsafety.com>
In-Reply-To: <297343D29C14AA4D822142893ABEAEF302DDE6EE@srv1163ex1.flightsafety.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

Thrall, Bryan wrote:
> Yes, WinXP stores your username twice ("Full name" and "User Name") and
> Cygwin uses the "hidden" one ("User Name"), but I'm pretty sure you
> don't have to reinstall XP to change it!
>
> IIRC, you can change the username from Control Panel->User
> Accounts->Advanced tab->Advanced button->Users->right click on the user
> and select "Rename". You might need to be Administrator to do this,
> though (and it only works for local users, so if you're on a domain, you
> need to contact the domain admin).
>
> Also, as someone already said, it is trivial to replace the
> names-with-spaces in the /etc/passwd file with names that have no
> spaces, as long as you don't mess with the SID.
>
>   
That is good information to have. Thanks for your reply, Bryan.

I no longer have XP installed, but found the same can be done in Vista 
by opening the computer management window (Right click on my computer -> 
manage ), expanding the "Local Users and Groups" tree, and clicking on 
"Users." Then the instructions are the same as Bryan's, right click on 
the user and hit 'rename' to set a new username.

--Robert Peaslee

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

