delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/29/23:06:33

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: <6EC0D4799007D5119E9F00508B6B515818D72A@lon-a-1035-sr.wow>
From: David Postill <David DOT Postill AT workthing DOT com>
To: "'Brad Barber'" <bradb AT atg DOT com>, cygwin AT cygwin DOT com
Subject: RE: whoami and id returns "administrator" instead of my userid
Date: Thu, 29 Mar 2001 13:54:07 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

| -----Original Message-----
| From: Brad Barber [mailto:bradb AT atg DOT com]
| Sent: Friday, March 23, 2001 3:51 PM
| To: Andy Helten; cygwin AT cygwin DOT com
| Subject: Re: whoami and id returns "administrator" instead of 
| my userid
| 
| 
| It looks like my problem is due to an ambiguous configuration of my
| NT workstation.
| 
| If I look at
|         Computer Management :: System Tools :: Local Users 
| and Groups :: Users
| I find
|         Administrator
|         atg
|         Guest
| 
| cygwin/mkpasswd is using these values
| 
| KANE:/etc> mkpasswd -l
| 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-1708537
| 768-500:/home/Administrator:/bin/sh
| atg::1000:513:atg,S-1-5-21-1606980848-1563985344-1708537768-10
| 00:/home/atg:/bin/sh
| Guest::501:513:,S-1-5-21-1606980848-1563985344-1708537768-501:
| /home/Guest:/bin/sh
| 
| It lookslike  the NT is storing my network userid elsewhere.  

<snip>

| >mkpasswd -l > /etc/passwd

Use mkpasswd -d > /etc/passwd instead.

------------------------------------------------------------------------ 
Privileged or confidential information may be contained in this message or
its attachments. 

If you are the addressee of this message and you would prefer not to 
receive e-mails from workthing at this address please notify the sender by
return. 

If you are not the addressee indicated in this message (or responsible for
delivery of the message to the addressee), you may not copy this message
or deliver it to anyone other than the addressee. In such case,
please delete this message and notify the sender by reply email.
Please take all appropriate steps to check any attachments to this message
for viruses or other damaging code. 


Workthing Limited 
Registered in England and Wales 
Registered Number: 3873867 
Registered Office: 164 Deansgate, Manchester, M60 2RR 


--
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