Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3ABA8F52.1066B23F@dot21rts.com> Date: Thu, 22 Mar 2001 18:48:34 -0500 From: Andy Helten X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Brad Barber , cygwin AT cygwin DOT com Subject: Re: whoami and id returns "administrator" instead of my userid References: <5 DOT 0 DOT 2 DOT 1 DOT 0 DOT 20010322143628 DOT 00abffc0 AT pop DOT atg DOT com> <5 DOT 0 DOT 2 DOT 1 DOT 0 DOT 20010310182049 DOT 02975898 AT pop DOT atg DOT com> <5 DOT 0 DOT 2 DOT 1 DOT 0 DOT 20010310182049 DOT 02975898 AT pop DOT atg DOT com> <5 DOT 0 DOT 2 DOT 1 DOT 0 DOT 20010322143628 DOT 00abffc0 AT pop DOT atg DOT com> <5 DOT 0 DOT 2 DOT 1 DOT 0 DOT 20010322181223 DOT 04623d88 AT pop DOT atg DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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