This is the mail archive of the mailing list for the Cygwin project. See the Cygwin home page for more information.
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: DejaGnu

I created one for win98 in /etc/password by using the same format and dummy


Probably only userid, uid, and gid are important.  Use the values from an ls -l.

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: <>; <>;
> <>
> Date: Friday, April 02, 1999 9:52 AM
> Subject: Re: DejaGnu
> >At 09:04 AM 4/2/99 EST, wrote:
> >>In a message dated 4/2/99 2:08:20 AM Pacific Standard Time,
> >>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                    
> >RFK Partners, Inc.                      (781) 239-1053
> >8 Grove Street                          (781) 239-1655 - FAX
> >Wellesley, MA  02482-7797     
> --
> Want to unsubscribe from this list?
> Send a message to

Want to unsubscribe from this list?
Send a message to