X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-3.8 required=5.0	tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_VC
X-Spam-Check-By: sourceware.org
X-IronPortListener: Outbound_SMTP
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AkcKAL4UwlCcKEep/2dsb2JhbABEhjW3EoEFbAeCHgEBAQMBEhERSgsCAQgaAgYgAgICHRMVAgENAQEEGxqHaQalNooHklaBIo5NMmEDjTiZFYJzgiI
From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: RE: Cygrunsrv and special Windows virtual accounts "NT SERVICE"
Date: Fri, 7 Dec 2012 16:12:22 +0000
Message-ID: <5F8AAC04F9616747BC4CC0E803D5907D043FCEC7@MLBXv04.nih.gov>
References: <5F8AAC04F9616747BC4CC0E803D5907D043FCB1D@MLBXv04.nih.gov> <20121207160028.GA2374@calimero.vinschen.de>
In-Reply-To: <20121207160028.GA2374@calimero.vinschen.de>
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id qB7GCmni030463

>   cygrunsrv -I svcname -u "NT SERVICE\svcname" -p ''

I'm not quite sure I follow your suggestion:

-p is for path to the actual executable that implements the background process

If you meant -w '' (or as documentation suggests '-w ') then it does not work
for some reason -- cygrunsrv cannot install the service (per the bad user/pass combo,
presumably).

Anton Lavrentiev
Contractor NIH/NLM/NCBI


