delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/22/18:49:03

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <andy DOT helten AT dot21rts DOT com>
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Brad Barber <bradb AT atg DOT com>, 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>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019