Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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-Info: This message was accepted for relay by smtp03.mrf.mail.rcn.net as the sender used SMTP authentication X-Trace: UmFuZG9tSVYK8TIzpYjgHZOwp83IwKPz/hli1BVfaPMTMC9UTMvAgvkoBsuhqs/L Message-ID: <3F33E9E6.7010108@cygwin.com> Date: Fri, 08 Aug 2003 14:20:22 -0400 From: Larry Hall Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Johan Parin CC: cygwin AT cygwin DOT com Subject: Re: "cannot find username for UID XXX" References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Johan Parin wrote: > Hi all, > > Just installed Cygwin on Win2K. It's working fine except that I don't > have a username ;( . This has some bad consequences like not being > able to use ssh. id returns the following: > > uid=479 gid=10513(mkgroup_l_d) > groups=544(Administrators),545(Users),10513(mkgroup_l_d) > > uid 479 is not in passwd, as can be seen in attachment. > > My username should be erajpaa. I have no idea where Cygwin picks up > uid 479 from. If I start up cmd.exe, I can see the following USER > related variables: > > ALLUSERSPROFILE=C:\Documents and Settings\All Users > USERDNSDOMAIN=eemea.ericsson.se > USERDOMAIN=EEMEA > USERNAME=erajpaa > USERPROFILE=C:\Documents and Settings\erajpaa > > These are inherited by the Cygwin shell, which however also creates > > USER=479 > > Could I have done something wrong during installation, or can I do > something to fix this now? > > Should I change the uid for erajpaa in passwd, or can I do something > to convince Cygwin I'm uid 66015 instead? mkpasswd -d -u erajpaa >/etc/passwd mkgroup -d >/etc/group See the email archives for more discussion of these if you continue to have problems or are interested in learning more. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/