| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-Spam-Check-By: | sourceware.org |
| Date: | Fri, 7 Dec 2012 17:00:28 +0100 |
| From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Cygrunsrv and special Windows virtual accounts "NT SERVICE" |
| Message-ID: | <20121207160028.GA2374@calimero.vinschen.de> |
| Reply-To: | cygwin AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <5F8AAC04F9616747BC4CC0E803D5907D043FCB1D AT MLBXv04 DOT nih DOT gov> |
| MIME-Version: | 1.0 |
| In-Reply-To: | <5F8AAC04F9616747BC4CC0E803D5907D043FCB1D@MLBXv04.nih.gov> |
| User-Agent: | Mutt/1.5.21 (2010-09-15) |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
On Dec 7 13:30, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote: > Hi all, > > I have a suggestion that cygrunsrv doesn't ask for any password with > the option -u (and -w not provided), if the specified user is like > "NT SERVICE\svcname", where svcname is the service being added. > > Otherwise, cygrunsrv is not self-sufficient for defining a service, > and has to be further supplemented with a "patch" using the native > "SC" command. Yet having every service to run under the privileged > LocalSystem account is not always justified. > > So, instead of having to do a two-step process: > > cygrunsrv -I svcname ... > sc config svcname obj= "NT SERVICE\svcname" > > everything could be done in one command: > > cygrunsrv -I svcname -u "NT SERVICE\svcname" ... What about cygrunsrv -I svcname -u "NT SERVICE\svcname" -p '' ? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |