X-Spam-Check-By: sourceware.org
Message-ID: <442A80A8.4E027882@dessent.net>
Date: Wed, 29 Mar 2006 04:42:16 -0800
From: Brian Dessent <brian@dessent.net>
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Problems with sshd
References: <2bf229d30603271754y6099251ew8a341fd84d5556a8@mail.gmail.com> <20060328073623.GH20907@calimero.vinschen.de> <2bf229d30603280743r2adcadfbxbb45872deeb9af35@mail.gmail.com> <20060328155439.GQ20907@calimero.vinschen.de> <2bf229d30603280824j6fb1258bkb93ed4a540ad832c@mail.gmail.com> <20060328190138.GR20907@calimero.vinschen.de> <2bf229d30603281158s483b5434kc8fcaa967cc640b6@mail.gmail.com> <20060329111349.GU20907@calimero.vinschen.de>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.com
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Corinna Vinschen wrote:

> It is possible to change the service's configuration including the
> dependencies using a Win32 system call (ChangeServiceConfig), but
> I don't know of a tool which utilizes this call *and* allows to
> change the dependencies.

In XP and later there is the SC command, which should be able to do this e.g.
"sc config foo depend=bar".

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

