This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: whoami and id returns "administrator" instead of my userid


This worked for me:

mkpasswd -l > /etc/passwd

Also, see:

http://cygwin.com/cygwin-ug-net/using-utils.html#MKPASSWD

andy


Brad Barber wrote:

> At 03:49 PM Thursday 3/22/2001, DJ Delorie wrote:
>
> >Edit /etc/passwd
>
> Will that mean that I need to "login" to cygwin?
>
> Any suggestions for /etc/password and .cshrc?  The desired behavior is
> that clicking on the tcsh icon gives me a tcsh shell running as "bbarber" (my Windows
> 2000 userid).  Currently it runs the shell as "administrator".
>
>                                                 --Brad "learning sysadmin" Barber
>
> ------------
> Here are the current values.  I wonder where it got "atg" and "Guest" from.
> I don't think I've registered anyone.  I've never touched this file directly.
>
> KANE:/etc> cat passwd
> Everyone:*:0:0:,S-1-1-0::
> SYSTEM:*:18:18:,S-1-5-18::
> Administrators:*:544:544:,S-1-5-32-544::
> Administrator::500:513:,S-1-5-21-1606980848-1563985344-1708537768-500:/home/Administrator:/bin/sh
> atg::1000:513:atg,S-1-5-21-1606980848-1563985344-1708537768-1000:/home/atg:/bin/sh
> Guest::501:513:,S-1-5-21-1606980848-1563985344-1708537768-501:/home/Guest:/bin/sh
>
> >You may have to close and re-open your cygwin windows, too.
> >
> >--
> >Want to unsubscribe from this list?
> >Check out: http://cygwin.com/ml/#unsubscribe-simple
>
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]