From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jonathan Pryor" To: Subject: Re: DejaGnu Date: Fri, 30 Apr 1999 18:32:00 -0000 Message-ID: <00d201be7d1c$1c7f8cb0$e63d2509@jonpryor.raleigh.ibm.com> X-SW-Source: 1999-04n/msg00020.html Message-ID: <19990430183200.6U2ML7WK1GdoZEJWF6IRKBLHz4VILQx1aIRns8Y0mmQ@z> To get `whoami' to work correctly, you need: /etc/passwd Under NT, you can generate this with cygwin-supplied tools: mkpasswd -l > /etc/passwd This doesn't appear to work under 95 (95 doesn't support the Win32 Security APIs), so I'm not sure what to do about Win9x... (I copied over the files from my NT box, but I'm not sure what to do if NT isn't available.) - Jon -----Original Message----- From: Larry Hall To: N8TM@aol.com ; adam@ideogram.com ; cygwin@sourceware.cygnus.com Date: Friday, April 02, 1999 9:52 AM Subject: Re: DejaGnu >At 09:04 AM 4/2/99 EST, N8TM@aol.com wrote: >>In a message dated 4/2/99 2:08:20 AM Pacific Standard Time, adam@ideogram.com >>writes: >> >>> bash-2.02$ whoami >>> whoami: cannot find username for UID 500 >>> Can someone who has run DejaGnu on gcc give me some pointers? >>As there is no whoami on cygwin, I simply edit that script to remove all the >>attempts to find a username, leaving only the fixed "unknown" assignment. A >>more general fix would be for the script to check whether whoami is >>implemented before trying to invoke it. >> > >Actually, I don't think the problem is that there is no "whoami" for Cygwin >(I have one and I didn't build it myself!;-)). I think Adam's problem is >just a configuration one. Actually, I forget the details of setting up >whoami to work (even though I guess I did it at one point since it works >fine for me!;-)) but I'm quite sure I remember it being discussed on the list. >One could always check the archives!;-) In any case, as you pointed out, >"fixing" whoami is not critical to solving Adam's current problem. > > >Larry Hall lhall@rfk.com >RFK Partners, Inc. (781) 239-1053 >8 Grove Street (781) 239-1655 - FAX >Wellesley, MA 02482-7797 http://www.rfk.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com