This is the mail archive of the
mailing list for the Cygwin project.
Re: changing my cygwin username to have no spaces in it
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Terrence Brannon <metaperl at urth dot org>
- Cc: cygwin at cygwin dot com
- Date: Fri, 3 Oct 2003 23:47:24 -0400 (EDT)
- Subject: Re: changing my cygwin username to have no spaces in it
- References: <20030903073539.8ECD132A822@redhat.com> <20030903140344.GA920@tishler.net><3F7E4111.firstname.lastname@example.org>
- Reply-to: cygwin at cygwin dot com
On Fri, 3 Oct 2003, Terrence Brannon wrote:
> I just got a great new laptop --- the Toshiba P25 with a 17" widescreen.
> However, I was dumb enough to enter my name as "Terrence Brannon" during
> the initial welcome screens. Now when attempting to compile xemacs from
> scratch (because xemacs' windows goes into some sort of white - on -
> white mode when I open a shell inside xemacs when I use the netinstaller
> from xemacs.org), ./configure looks for install-sh in /home/Terrence
> Brannon/wares/blah-blah-blah/install-sh, but the space in the username
> is fooling it. What can I do so that when I click on the Cygwin icon, it
> logs me into cygwin as the user metaperl or Terrence_Brannon?
> I have already gone to the Control Panel and tried User Accounts/Change
> Name, but that was merely cosmetic.
Cygwin keeps another copy of your username (copied from the Windows name,
but thereafter independent) in /etc/passwd. That username is also purely
cosmetic, so you can change it at will (the important part is the SID
field). You can go ahead and insert an underscore, or even change it to
"metaperl". As always, make sure you keep a copy of your /etc/passwd
before making changes.
|\ _,,,---,,_ email@example.com
ZZZzz /,`.-'`' -. ;-;;,_ firstname.lastname@example.org
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html