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

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, 27 Jan 2003 10:37:00 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Thorsten Kampe <thorsten AT thorstenkampe DOT de>
cc: cygwin AT cygwin DOT com
Subject: Re: SSH and Home
In-Reply-To: <1k6eafnrhz40f$.dlg@thorstenkampe.de>
Message-ID: <Pine.GSO.4.44.0301271028090.26400-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019