whoami and id returns "administrator" instead of my userid

David Postill David.Postill@workthing.com
Thu Mar 29 19:32:00 GMT 2001


| -----Original Message-----
| From: Brad Barber [ mailto:bradb@atg.com ]
| Sent: Friday, March 23, 2001 3:51 PM
| To: Andy Helten; cygwin@cygwin.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



More information about the Cygwin mailing list