Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Wed, 08 May 2002 16:11:44 -0400
From: Jason Tishler <jason@tishler.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@cygwin.com
Mail-followup-to: cygwin@cygwin.com
Message-id: <20020508201144.GA1252@tishler.net>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
User-Agent: Mutt/1.3.24i
References: <BE684E2C997AD51199530002A56B20796C3651@MCHH2A1E>
 <4.3.1.2.20020508102656.0267aeb0@pop.ma.ultranet.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/

