delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/07/02:19:39

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <42A53C50.2030302@hq.astra.ph>
Date: Tue, 07 Jun 2005 14:18:56 +0800
From: Carlo Florendo <list-subscriber AT hq DOT astra DOT ph>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616
MIME-Version: 1.0
To: Vadym Voznyuk <pirks AT telus DOT net>
Cc: cygwin AT cygwin DOT com
Subject: Re: Running cygwin service via cygrunsrv under account without password in Win XP Pro - impossible?
References: <000b01c5683f$1138ca50$7aa279d1 AT oomph> <zbka4n95ztcx DOT hcdbinxzexl0 DOT dlg AT 40tude DOT net> <000a01c56b27$3f32d640$7aa279d1 AT oomph>
In-Reply-To: <000a01c56b27$3f32d640$7aa279d1@oomph>
X-IsSubscribed: yes

Vadym Voznyuk wrote:

> ----- Original Message ----- From: "Andrew Schulman" <andrex AT alumxxxxxx>


Uh, ummm.   Please   http://cygwin.com/acronyms/#PCYMTNQREAIYR

> To: <cygwin AT cygwin DOT com>
> Sent: Friday, June 03, 2005 8:31 AM
> Subject: Re: Running cygwin service via cygrunsrv under account without
> password in Win XP Pro - impossible?
>
>>> -w, --passwd <password>
>>>   Optional password for user. Only needed if a user is given. If a
>>> user has an empty password, enter `-w ' with no <password>.
>>> cygrunsrv -I svc_name -p /usr/bin/svc.exe -u foo -w ""
>>
>>
>> Isn't '-w ""' different from just '-w'?  In other words,
>> cygrunsrv.README is telling you to use no password, while you're giving
>> it an empty password, which is different.  I dunno, but it's worth a
>> try.
>
>
> No, that is correct syntax actually!
>
> Did you read the message from the Corinna himself? He solved it!


Just FYI, Corinna is a she :)

> There is a special local security policy setting in XP and 2K3, once I 
> set it properly - everything works beautifully.
>
>> Another option is to run the service as user SYSTEM.  This is what I do,
>> and I've never had any trouble.  But of course you're right to try to
>> run it under a lower-privilege account.
>
>
> Corinna rocks! 


Yes, she does :)

-- 
Carlo Florendo
Astra Philippines Inc.
www.astra.ph


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019