delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/03/23:47:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 3 Oct 2003 23:47:24 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Terrence Brannon <metaperl AT urth DOT org>
cc: cygwin AT cygwin DOT com
Subject: Re: changing my cygwin username to have no spaces in it
In-Reply-To: <3F7E4111.1070504@urth.org>
Message-ID: <Pine.GSO.4.56.0310032345170.15176@slinky.cs.nyu.edu>
References: <20030903073539 DOT 8ECD132A822 AT redhat DOT com> <20030903140344 DOT GA920 AT tishler DOT net>
<3F7E4111 DOT 1070504 AT urth DOT org>
Importance: Normal
MIME-Version: 1.0

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.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,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
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