Bug Report: Purging Old and Invalid User Names With Spaces

2007-03-16 Thread Keith Mitchell
Problem: Virgin Installs of CygWin on Windows XP work fine but a total 
purge (deletion of all CygWin files and directories) and a fresh 
reinstall with different set of usernames do not work properly, i.e., 
usernames that have been CHANGED using the XP user manager to new 
usernames. This problem occurred as a result of my changing all my 
usernames with spaces to usernames without spaces to make them Linux 
compatible.


I wanted to thank all for the responses. After many reinstallations of 
CygWin, I finally identified the problem and got things working. This is 
just a bug report documenting my discoveries and what I believe is going on.


1. A virgin install of CygWin makes a list of all user names on the 
system. This list is reflected in /etc/passwd after any reinstall. I am 
guessing this list is stored in the Windows XP registry as this list 
does not exist on the drive where CygWin is installed, in my case, the D 
drive. This list is NEVER updated on subsequent CygWin installs. This is 
the REAL problem: no updates on subsequent installs.


2. Subsequent installations of CygWin utilize the aforementioned out of 
date username list, even though those usernames have been changed and 
are no longer valid


3. My problems occurred as a result of a conflict between the list of 
original usernames that are no longer valid created by the first virgin 
install of CygWin and usernames that currently valid after user manager 
changes. This registry entry (or whatever the source of the invalid 
usernames) entry needs either to either be purged before or updated as a 
result of subsequent CygWin installs.


Again thanks to all.

Keith Mitchell

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



Purging Old and Invalid User Names With Spaces

2007-03-14 Thread Keith Mitchell
In am running Windows XP SP2. I was having trouble with applications 
running under CygWin because I originally had spaces in my user names. I 
changed all the user names on my system, eliminating all the spaces in 
the user names. I then rebooted the computer just in case. Nothing 
changed. I then deleted my whole CygWin installation and reinstalled 
everything fresh from the web from scratch. Things were still broken in 
the same way!! I checked /etc/passwd file. All the user names were 
wrong. The user names were the same old user names I had in place before 
I changed the names eliminating the spaces. I do not know where CygWin 
found a list of those old and obsolete user names containing spaces, but 
it did find them somewhere. (probably in the registry). And it used them.


My question. How can I purge those old and now invalid user names so 
CygWin uses only the current, correct, and valid user names, user names 
without spaces?


Thanks.

Keith Mitchell


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