delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/18/11:05:51

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
Reply-To: <macarthy AT iol DOT ie>
From: "Justin MacCarthy" <macarthy AT iol DOT ie>
To: "Richard Troy" <rtroy AT sciencetools DOT com>, <cygwin AT cygwin DOT com>
Subject: RE: cygwin mentors? Was: bash and the suid bit
Date: Thu, 18 Apr 2002 15:49:28 +0100
Message-ID: <OFEGLPGPCHPACFLJPAILMENEDAAA.macarthy@iol.ie>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
In-Reply-To: <Pine.LNX.4.33.0204180729480.1389-100000@denzel.in>

Hi Richard, a short answer pretty busy, hopes its enough to get you
started...

> Tell me about it, Justin!
> No, Nobody mentioned that!
> How does it work? Is it part of the OS or an add-on?

It's a Win2000 native service , look in services
Description : "Enables starting processes under alternate credentials"

Nearest thing to  sudo (ala Linux) I know of

> Also, can it be ported/made to work on NT?

Might need to use the  CreateProcessWithLogonW
http://msdn.microsoft.com/library/en-us/dnwxp/html/appsec.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/pro
thred_2gl3.asp


> If it only works on W2000, it might not be good enough for my needs...
>

Only works on Win2000 AFAIK , although might in XP etc.

http://support.microsoft.com/directory/article.asp?ID=KB;EN-US;Q294676&

http://www.microsoft.com/windows2000/en/server/help/windows_security_runas.h
tm

Actually one of those articles mentions XP so.....

> Thanks for your reply,
> Richard
>

> --
> Richard Troy, Chief Scientist
> Science Tools Corporation
> rtroy AT ScienceTools DOT com, 510-567-9957, http://ScienceTools.com/
>
> On Thu, 18 Apr 2002, Justin MacCarthy wrote:
>
> > Date: Thu, 18 Apr 2002 15:28:25 +0100
> > From: Justin MacCarthy <macarthy AT iol DOT ie>
> > To: Richard Troy <rtroy AT sciencetools DOT com>
> > Subject: RE: cygwin mentors?  Was: bash and the suid bit
> >
> > I haven't followed this tread, but I had a quick look , did
> anyone mention
> > the RunAs service in WIn2000?
> >
> > Might solve your problem ???
> >
> > Justin
> >
>
>
>


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