delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/04/22:17:34

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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: snow.cs.uiuc.edu: braz owned process doing -bs
Date: Sat, 4 Dec 2004 21:17:22 -0600 (CST)
From: Rodrigo de Salvo Braz <braz AT uiuc DOT edu>
X-X-Sender: braz AT snow DOT cs DOT uiuc DOT edu
To: Cygwin List <cygwin AT cygwin DOT com>
Subject: User name with spaces and Cygwin web site suggestion
In-Reply-To: <6.2.0.14.0.20041204183421.04800da8@pop.prospeed.net>
Message-ID: <Pine.GSO.4.58.0412042109100.6868@snow.cs.uiuc.edu>
References: <Pine DOT GSO DOT 4 DOT 58 DOT 0412031735480 DOT 3808 AT snow DOT cs DOT uiuc DOT edu> <6 DOT 2 DOT 0 DOT 14 DOT 0 DOT 20041204183421 DOT 04800da8 AT pop DOT prospeed DOT net>
MIME-Version: 1.0
X-IsSubscribed: yes

Hi,

I had a Windows XP user account whose name had spaces. The Cygwin web site
says that you should change your account's user name to something without
spaces and, if Cygwin is already installed, re-run mkpasswd. Even before I
installed Cygwin, I changed my user name, but this did not solve the
problem because the command id -un used in /etc/profile to determine the
user continues returning the previous spaced user name. So I manually set
HOME and USER to the right thing in /etc/profile and at least I got the
home directory right and so on. But apparently some programs may still use
id -un, as it is the case with ssh. Did I miss something or renaming the
account really doesn't do anything to solve the problem?

Thanks,

Rodrigo

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