Mail Archives: cygwin/2003/01/27/13:00:26
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 -