This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
----- Original Message ----- From: "Andrew Schulman" <andrex@alumxxxxxx>
To: <cygwin@cygwin.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!
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!
-- 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/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |