Bug Report: Purging Old and Invalid User Names With Spaces

David Picton djpicton@gmail.com
Sat Mar 17 21:46:00 GMT 2007


>   * 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@srv1163ex1.flightsafety.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/



More information about the Cygwin mailing list