This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Username with space in it


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]