delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/08/16:05:22

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
Date: Wed, 08 May 2002 16:11:44 -0400
From: Jason Tishler <jason AT tishler DOT net>
Subject: Finding your SID (was Re: problem starting inetd as NT service)
In-reply-to: <4.3.1.2.20020508102656.0267aeb0@pop.ma.ultranet.com>
To: cygwin AT cygwin DOT com
Mail-followup-to: cygwin AT cygwin DOT com
Message-id: <20020508201144.GA1252@tishler.net>
MIME-version: 1.0
User-Agent: Mutt/1.3.24i
References: <BE684E2C997AD51199530002A56B20796C3651 AT MCHH2A1E>
<4 DOT 3 DOT 1 DOT 2 DOT 20020508102656 DOT 0267aeb0 AT pop DOT ma DOT ultranet DOT com>

[The following was delayed due to ISP problems.  Sigh...]

On Wed, May 08, 2002 at 10:30:28AM -0400, Larry Hall (RFK Partners, Inc) wrote:
> Not necessarily.  You need to be able to create a proper /etc/passwd file.
> mkpasswd will do this for you normally.  However, if you can find the proper
> info, you can create one manually.

You can find your SID (the "proper info" from above), by scanning through
the following registry key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

Choose the one where ProfileImagePath contains your $USERNAME.

Obviously, we should try to fix mkpasswd/mkgroup to work in these
"strange" environments, if possible.  But, at least the archives have
a reference for the desperate now. :,)

Jason

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