delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/12/10:48:00

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Dmitriy Kargapolov" <dk AT xoid DOT net>
To: <cygwin AT cygwin DOT com>, "'steve johnston'" <srj AT jjjnet DOT net>
Subject: RE: User ID Problem: "I have no name!"
Date: Sat, 12 Apr 2003 09:47:49 -0500
Message-ID: <000901c30102$7db1ea00$0400a8c0@klop>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Importance: Normal

Hi All,
Looks like true, Igor.

I had id 86015
86015 % 65536 = 20479
my cygwin was complaining about "unknown user 20479"

Steve has id 225118,
225118 % 65536 = 28510

I guess his "unknown id" is 28510

Cygwin cuts id to fit 16-bit...

Thank you a lot Igor!

-----Original Message-----
From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf
Of Igor Pechtchanski
Sent: Friday, April 11, 2003 5:56 PM
To: steve johnston
Cc: cygwin AT cygwin DOT com
Subject: Re: User ID Problem: "I have no name!"


On Sat, 12 Apr 2003, steve johnston wrote:

> After installing Cygwin on XP (when logged into XP as a user in the
admin
> group) and then starting Cygwin I see the following:
>
> id: cannot find name for user ID 28510
> I have no name!@WAL11112813 ~
>
> -------------------
> Here's /etc/passwd:
>
> $ more /etc/passwd
> SYSTEM:*:18:544:,S-1-5-18::
> Administrators:*:544:544:,S-1-5-32-544::
>
Administrator:unused_by_nt/2000/xp:500:513:U-WAL111128914090876-40252793
79-689279713-500:/home/Administrator
>
Guest:unused_by_nt/2000/xp:501:513:U-WAL11112813\Guest9379-689279713-501
:/home/Guest:/bin/bash
> HelpAssistant:unused_by_nt/2000/xp:1004:513:Remote
Dest,U-WAL11112813\HelpAssistant,S-1-5-21-914090876-40252/HelpAssistant:
/bin/bash
>
SUPPORT_388945a0:unused_by_nt/2000/xp:1002:513:CN=Micrd,S=Washington,C=U
S,U-WAL11112813\SUPPORT_388945a0,S-1-689279713-1002:/home/SUPPORT_388945
a0:/bin/bash
>
tmersrvd:unused_by_nt/2000/xp:1005:513:tmersrvd,U-WAL1914090876-40252793
79-689279713-1005:/home/tmersrvd:/bi
>
sjohnsto:unused_by_nt/2000/xp:225118:10513:sjohnsto,U--2014530826-197875
1852-262303683-215118:/cygdrive/h:/
>
> ---------------------------------
> Can't login as my windows Userid:
>
> I have no name!@WAL11112813 ~
> $ Login
> login: sjohnsto
> Password:
> Switching to user sjohnsto failed!
>
> I have no name!@WAL11112813 ~
> $
>
> Any suggestions?
> Thanks, Steve

AFAIK, Cygwin doesn't currently support UIDs of more than 16-bit.  Edit
/etc/passwd and change your user id (third ":"-separated field) to
something less than 65535.  Make sure you don't touch any other part of
the entry.

Also, you will not be able to use "login" to switch user context.  See
<http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-SETUID>.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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