delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/18/06:12:54

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
Date: Tue, 18 Feb 2003 11:12:43 +0000 (GMT Standard Time)
From: Max Bowsher <maxb AT ukf DOT net>
To: David Starks-Browning <starksb AT ebi DOT ac DOT uk>
cc: David Rasmussen <pinkfloydhomer AT yahoo DOT com>, <cygwin AT cygwin DOT com>
Subject: Re: Username with space in it
In-Reply-To: <7004-Tue18Feb2003110741+0000-starksb@ebi.ac.uk>
Message-ID: <Pine.WNT.4.44.0302181108560.1084-100000@pcchem101.chem.pwf.cam.ac.uk>
X-X-Sender: mob22 AT imap DOT hermes DOT cam DOT ac DOT uk
MIME-Version: 1.0

On Tue, 18 Feb 2003, David Starks-Browning wrote:

> On Tuesday 18 Feb 03, David Rasmussen writes:
> > My Windows user name is "David Rasmussen". I've found
> > that some things choke on the space in the user name,
> > for example bootstrapping gcc. So I would like to use
> > another name, "david" as my username. Can that be
> > done? And how?
>
> Do you really need to change your user name?  You probably just need
> to change your home directory.  See what's currently done in
> /etc/profile.  Set HOME to something else.  Make sure you create that
> directory, and also edit /etc/passwd accordingly.

Or, to change your username, simply edit the first field of the relevant
line of /etc/passwd - and make sure to change your home dir, as well

David Rasmussen:...:/home/David Rasmussen:...

becomes

david:...:/home/david:...

and also rename the directory itself.

Max.




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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