Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: Mon, 16 Sep 2002 11:06:11 +0200 From: Corinna Vinschen To: "Cygwin AT Cygwin DOT Com" Subject: Re: supplement cygwin_logon_user with CreateProcessWithLogonW? Message-ID: <20020916110611.B29920@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: "Cygwin AT Cygwin DOT Com" References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.22.1i On Sat, Sep 14, 2002 at 10:46:33PM +0100, Chris January wrote: > On Windows 2000, no extra privileges are needed to run > CreateProcessWithLogonW (as opposed to the LogonUser / CreateProcessAsUser) > combination. This is because CreateProcessWithLogonW utilises the RunAs > (2000)/SecondaryLogon (XP) service. Would it make sense to modify Cygwin so > this could be used in place of cygwin_logon_user if one so wished? If so, > I'll go about creating a patch. Hmm, how are you planning to do that? Which application do you have in mind to use that functionality, su? Oh, btw., do you have a pointer to MS documentation which talks about CreateProcessWithLogonW() utilizing RunAs? I have not found a word of that in MSDN. Just curious. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- 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/