delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/17/16:46:58

X-Spam-Check-By: sourceware.org
Message-ID: <2fc802c00703171446y6cb169d2l957370e76c3687cc@mail.gmail.com>
Date: Sat, 17 Mar 2007 21:46:37 +0000
From: "David Picton" <djpicton AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Bug Report: Purging Old and Invalid User Names With Spaces
MIME-Version: 1.0
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

>   * From: Robert Peaslee <peasleer at gmail dot com>
>    * To: cygwin at cygwin dot com
>    * Date: Fri, 16 Mar 2007 17:19:18 -0400
>    * References:
> <297343D29C14AA4D822142893ABEAEF302DDE6EE AT srv1163ex1 DOT flightsafety 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).

There's a slight problem here.  I have XP, but I can't see an Advanced
tab in the User Accounts window.  It lacks all advanced functionality,
so I use the Computer Management window as described below:

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

This does change the real username, and the change will take effect in
Cygwin once the password file has been rebuilt using mkpasswd (or
updated by hand).  (However, it should be noted that the user's
profile in Documents and Settings is not renamed).

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