delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/16/16:19:53

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 AT gmail DOT com>
User-Agent: Thunderbird 2.0b2 (Windows/20070116)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Bug Report: Purging Old and Invalid User Names With Spaces
References: <297343D29C14AA4D822142893ABEAEF302DDE6EE AT srv1163ex1 DOT flightsafety DOT com>
In-Reply-To: <297343D29C14AA4D822142893ABEAEF302DDE6EE@srv1163ex1.flightsafety.com>
X-IsSubscribed: yes
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

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/

- Raw text -


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