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
Content-Type: text/plain;
  charset="iso-8859-1"
From: Christopher January <chris@atomice.net>
To: Jason Tishler <jason@tishler.net>
Subject: Re: Logging in as SYSTEM (was Re: Quick password question...)
Date: Thu, 5 Sep 2002 16:32:43 +0100
References: <Pine.LNX.3.96.1020905105821.32636A-100000@varpa.it.uc3m.es> <200209051437.50817.chris@atomice.net> <20020905150138.GA1240@tishler.net>
In-Reply-To: <20020905150138.GA1240@tishler.net>
Cc: cygwin@cygwin.com
MIME-Version: 1.0
Message-Id: <200209051632.43841.chris@atomice.net>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g85KxSJ31741

On Thursday 05 Sep 2002 4:01 pm, you wrote:
> Chris,
>
> Did you mean to reply-all?
>
> On Thu, Sep 05, 2002 at 02:37:50PM +0100, Christopher January wrote:
> > On Thursday 05 Sep 2002 1:58 pm, Jason Tishler wrote:
> > > On Thu, Sep 05, 2002 at 11:14:17AM +0200, Bjoern Kahl AG Resy wrote:
> > > > I thought that is impossible ...)
> >
> > I have the source code to a program that does su. I'll try to make it
> > into a Cygwin program one day.
>
> Don't you need a daemon (i.e., service) able to switch user context
> (e.g., running under LocalSystem) to pull this off?
IIRC you can give an account certain priveleges which means it can do this 
itself.
There were two program I was thinking of. One just opens a shell as the SYSTEM 
user, the other logs on a user and runs a program as them (when given the 
correct password).

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/

