delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/16/05:06:23

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: Mon, 16 Sep 2002 11:06:11 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: "Cygwin AT Cygwin DOT Com" <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" <cygwin AT cygwin DOT com>
References: <LPEHIHGCJOAIPFLADJAHOEMBCMAA DOT chris AT atomice DOT net>
Mime-Version: 1.0
In-Reply-To: <LPEHIHGCJOAIPFLADJAHOEMBCMAA.chris@atomice.net>
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/

- Raw text -


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