| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| From: | "Gerrit P. Haase" <gp AT familiehaase DOT de> |
| Organization: | Esse keine toten Tiere |
| To: | <cygwin AT sources DOT redhat DOT com> |
| Date: | Fri, 27 Jul 2001 22:12:25 +0200 |
| MIME-Version: | 1.0 |
| Subject: | Re: mkpasswd - mkgroup inconsistency in W2K Professional (cron problem) |
| Reply-to: | gp AT familiehaase DOT de |
| Message-ID: | <3B61E749.24147.1A3EE327@localhost> |
| References: | <vgkerx4p DOT fsf AT blue DOT sea DOT net> |
| In-reply-to: | <Pine.GSO.4.33.0107271540400.7097-100000@magetower.office.aol.com> |
| X-mailer: | Pegasus Mail for Win32 (v3.12cDE) |
| X-Hops: | 1 |
| X-Sender: | 320081107336-0001 AT t-dialin DOT net |
Prentis Brooks schrieb am 2001-07-27, 15:45:
> Umm, there is a system account on Win2k.
>
> I think the actual cygrunsrv command line should be:
>
> cygrunsrv -I cron -p /usr/sbin/cron -a'-D' -e CYGWIN="tty ntsec"
>
> Someone please correct me if I am wrong about the quotes, but I think
> you need to include them.
From /usr/doc/Cywgin/cron.README:
=================================
cygrunsrv -I cron -p /usr/sbin/cron -a -D
From /usr/doc/Cygwin/cygrunsrv.README:
======================================
cygrunsrv -I foo -p /usr/bin/bar -a "-D -e"
calls with two arguments, as in "/usr/bin/bar -D -e". If you need
to specify a single argument which contains spaces, you can
protect it with single (') or double (") quotes:
(a) cygrunsrv -I foo -p /usr/bin/bar -a "\"foo bar\""
(b) cygrunsrv -I foo -p /usr/bin/bar -a "'foo bar'"
(c) cygrunsrv -I foo -p /usr/bin/bar -a '"foo bar"'
[...]
cygrunsrv -I foo -p /usr/bin/bar -e HOME=/e/services -e TMP=/var/tmp
A single level of quoting with either single (') or double (") quotes
is allowed:
cygrunsrv -I foo -p /usr/bin/bar -e BAR="\"/d/My Documents/services\""
[...]
The above example of Prentis should work.
I think, best Option is to set <CYGWIN=tty ntsec binmode>
as a systemwide permanent environment variable.
gph
--
=^..^=
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |