Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <3704F3B1.70338A9C@ibm.net> Date: Fri, 02 Apr 1999 11:43:29 -0500 From: John Fortin X-Mailer: Mozilla 4.05 [en] (WinNT; U) MIME-Version: 1.0 To: Jonathan Pryor CC: cygwin AT sourceware DOT cygnus DOT com Subject: Re: DejaGnu References: <00d201be7d1c$1c7f8cb0$e63d2509 AT jonpryor DOT raleigh DOT ibm DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I created one for win98 in /etc/password by using the same format and dummy data. userid::uid:gid:name::shell Probably only userid, uid, and gid are important. Use the values from an ls -l. Regards, John Fortin Jonathan Pryor wrote: > 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 AT aol DOT com ; adam AT ideogram DOT com ; > cygwin AT sourceware DOT cygnus DOT com > Date: Friday, April 02, 1999 9:52 AM > Subject: Re: DejaGnu > > >At 09:04 AM 4/2/99 EST, N8TM AT aol DOT com wrote: > >>In a message dated 4/2/99 2:08:20 AM Pacific Standard Time, > adam AT ideogram DOT 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 AT rfk DOT 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 AT sourceware DOT cygnus DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com