delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/15/12:24:03

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: Mon, 15 Dec 2003 12:23:06 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Joaquin <winminion AT realmspace DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Fixing Home and Passwd
In-Reply-To: <000101c3c26e$2cb004b0$c901a8c0@macross>
Message-ID: <Pine.GSO.4.56.0312151221480.14823@slinky.cs.nyu.edu>
References: <000101c3c26e$2cb004b0$c901a8c0 AT macross>
Importance: Normal
MIME-Version: 1.0

On Sun, 14 Dec 2003, Joaquin wrote:

> Hi,
>
> After figuring out why my WinXP Pro install blows up mysteriously, I was
> thinking of creating some scripts to patch the scenario when accounts
> have spaces in them.
>
> I was going to make fixpasswd and fixhome scripts, which essentially
> take the first character and munge it with the first 7 chars of the
> preceeding name, and lower case it all.  Thus, "Howard Johnson" would
> become "hjohnson".
>
> I am wondering though, what else needs to be fixed up?
>  - Joaquin

Why not simply replace all spaces in the username and the home directory
with underscores?  Beware that HOME may be set to "Documents and
Settings/User name"...
	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