delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Date: | Fri, 16 Mar 2007 19:03:05 -0400 |
From: | Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Bug Report: Purging Old and Invalid User Names With Spaces |
Message-ID: | <20070316230304.GA11588@trixie.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <45FAFBD7 DOT 4000802 AT gmail DOT com> <45FB0398 DOT 1090808 AT gmail DOT com> <etf6u1$v12$1 AT sea DOT gmane DOT org> |
Mime-Version: | 1.0 |
In-Reply-To: | <etf6u1$v12$1@sea.gmane.org> |
User-Agent: | Mutt/1.5.11 |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
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 |
On Fri, Mar 16, 2007 at 10:49:36PM -0000, Thorsten Kampe wrote: >* Robert Peaslee (Fri, 16 Mar 2007 16:52:40 -0400) >> Actually, this information is incorrect. >> >> Windows XP stores the first username you choose and will associate your >> current username to it regardless of what you change it to. Cygwin >> stores nothing, it is asking Windows what your username is and getting a >> response of what Windows tells it. > >Cygwin asks Windows at first install about the user names and creates >/etc/passwd. The problem is (or can be) that this list never gets updated >even if the user names change or new user are added. > >As Keith wrote: >"Subsequent installations of CygWin utilize the aforementioned out of >date username list, even though those usernames have been changed and >are no longer valid." > >The secret is to run > >mkpasswd -l -c > /etc/passwd >and >mkgroup -l -c > /etc/group > >Also you have to run this if you're in a domain (because Cygwin retrieves >only the local user names, not the domain names). Given that the OP admitted to wiping out his whole Cygwin installation, I think it's a safe bet that he wiped out and regenerated his /etc/passwd. cgf -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |