delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/18/16:16:59

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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: <20021218211402.25168.qmail@web11101.mail.yahoo.com>
Date: Wed, 18 Dec 2002 13:14:02 -0800 (PST)
From: Michael Bourgon <michael_bourgon AT yahoo DOT com>
Subject: Cygrunsrv problem starting service created with --user
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

Howdy.  I checked the archives, but didn't see
anything that would shed light on the situation.

I have a fresh Cygwin install, along with Rsync, on a
Win2k box.  I would like to set up rsync as a daemon. 
The rsync daemon currently works - I can start up
cygwin, type "rsync --daemon --no-detach" and I have a
server running.  I can transfer files, no sweat,
config file works great.

I would like to run the rsync daemon as a service,
though not using the Local account.  I've successfully
set it up successfully before (using cygrunsrv), but
I'd like to have it run as a certain user.  So I used
cygrunsrv to delete it, then typed the following:

cygrunsrv --install rsync_daemon --user
mynetwork\\theusername --desc "rsync daemon from
cygwin" --path /usr/bin/rsync -a "--daemon
--no-detach"

It then asks for the password, which I type in twice. 
(I tried just using theusername, but it apparently
wanted the domain name for the account).  

It appears to work - everything looks good in
Services, but when I try to start I get an error
message that the service could not start, and the
computer did not return an error.  

Does anyone have any suggestions?  Like I said, if I
add it without the --user it works and starts just
fine, but it won't start when created with --user.

Any help appreciated.  Thanks.
Michael

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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

- Raw text -


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