delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/27/13:00:26

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
From: "Kevin Jones" <kevinj AT develop DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: SSH and Home
Date: Mon, 27 Jan 2003 17:59:08 -0000
Message-ID: <000101c2c62d$d84b59c0$0200a8c0@milo>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
In-Reply-To: <Pine.GSO.4.44.0301271028090.26400-100000@slinky.cs.nyu.edu>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3663.0
X-OriginalArrivalTime: 27 Jan 2003 17:59:40.0370 (UTC) FILETIME=[DD04C320:01C2C62D]

You're absolutely right - I've gone through the process of changing to a
name with no spaces but the problem persisted. After reading this I
changed my etc/passwd file so that home was /cygdrive/d/home/kevinj and
I'm golden

Thank you,

Kevin Jones
Developmentor
www.develop.com

> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com 
> [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Igor Pechtchanski
> Sent: 27 January 2003 15:37
> To: Thorsten Kampe
> Cc: cygwin AT cygwin DOT com
> Subject: Re: SSH and Home
> 
> 
> On Mon, 27 Jan 2003, Thorsten Kampe wrote:
> 
> > * Kevin Jones (03-01-27 11:54 +0100)
> > > I've just started using the cygwin SSH, mostly to do CVS, 
> and I have a
> > > problem with %HOME%
> >
> > No, you've got a problem with $USER/%USERNAME%.
> >
> > > I'm logged onto a W2K machine as 'Kevin Jones' [...]
> >
> > Don't do that, it's going to bring you nothing but trouble. Change
> > your username so it doesn't contain spaces.
> > Thorsten
> 
> FYI, there was a long discussion on the list some months ago which
> concluded that spaces in usernames are not particularly 
> harmful (as long
> as things are quoted properly in user scripts).  If there is a
> program/script that is affected by a space in a username, it should be
> fixed instead.
> 
> AFAICS, the original poster's problem was that the home directory in
> /etc/passwd was not set correctly.  sshd sets the home directory to
> whatever's specified in /etc/passwd (mostly because it can't 
> see the user
> environment variable %HOME%, running as SYSTEM).  The best 
> way to fix this
> is to edit /etc/passwd and set the home directory for the user "Kevin
> Jones" to "/cygdrive/d/home/kevinj".
> 	Igor
> -- 
> 				http://cs.nyu.edu/~pechtcha/
>       |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
> ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
>      |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
>     '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
> 
> Oh, boy, virtual memory! Now I'm gonna make myself a really 
> *big* RAMdisk!
>   -- /usr/games/fortune
> 
> 
> --
> 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/
> 


--
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