delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/11/18:56:33

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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 11 Apr 2003 18:56:19 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: steve johnston <srj AT jjjnet DOT net>
cc: cygwin AT cygwin DOT com
Subject: Re: User ID Problem: "I have no name!"
In-Reply-To: <Pine.LNX.4.33.0304121538140.26544-100000@localhost.localdomain>
Message-ID: <Pine.GSO.4.44.0304111851070.26381-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

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-4025279379-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=US,U-WAL11112813\SUPPORT_388945a0,S-1-689279713-1002:/home/SUPPORT_388945a0:/bin/bash
> tmersrvd:unused_by_nt/2000/xp:1005:513:tmersrvd,U-WAL1914090876-4025279379-689279713-1005:/home/tmersrvd:/bi
> sjohnsto:unused_by_nt/2000/xp:225118:10513:sjohnsto,U--2014530826-1978751852-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/

- Raw text -


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