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 X-WM-Posted-At: avacado.atomice.net; Sat, 14 Sep 02 22:46:33 +0100 From: "Chris January" To: "Cygwin AT Cygwin DOT Com" Subject: supplement cygwin_logon_user with CreateProcessWithLogonW? Date: Sat, 14 Sep 2002 22:46:33 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal 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. Chris -- 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/