Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Reply-To: cygwin AT cygwin DOT com To: Thorsten Kampe cc: cygwin AT cygwin DOT com Subject: Re: SSH and Home In-Reply-To: <1k6eafnrhz40f$.dlg@thorstenkampe.de> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/