This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: User name with spaces and Cygwin web site suggestion


On Sat, Dec 04, 2004 at 09:17:22PM -0600, Rodrigo de Salvo Braz wrote:
> 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?

This is strange. Could you send us the output of mkpasswd and indicate
both the name you use to log in into Windows and the name returned by id -un

Pierre

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]