Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
From: "Gerrit P. Haase" <gp@familiehaase.de>
Organization: Esse keine toten Tiere
To: posting-list@MailAndNews.com (Jari Aalto)
Date: Sun, 29 Jul 2001 20:37:30 +0200
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Subject: Re: mkpasswd - mkgroup inconsistency in W2K Professional (cron problem)
Reply-to: gp@familiehaase.de
CC: cygwin@sources.redhat.com
Message-ID: <3B64740A.10167.2434C6D6@localhost>
In-reply-to: <7kwr945y.fsf@blue.sea.net>
X-mailer: Pegasus Mail for Win32 (v3.12cDE)
X-Hops: 1
X-Sender: 320081107336-0001@t-dialin.net

Jari Aalto schrieb am 2001-07-29, 17:54:

: Re: mkpasswd - mkgroup inconsistency in W2K Professional (cron problem)
: References: <vgkerx4p.fsf@blue.sea.net>
: To: <cygwin at sources dot redhat dot com>
: 
: > Prentis Brooks schrieb am 2001-07-27, 15:45:
: >
: > > Umm, there is a system account on Win2k.
: 
: I mean, there is no "user" named SYSTEM to which I could log into.
: The commands were ran while logged as Administrator.
: 
: > > I think the actual cygrunsrv command line should be:
: > >
: > > cygrunsrv -I cron -p /usr/sbin/cron -a'-D' -e CYGWIN="tty ntsec"
: 
: This is odd. Whatever I try, it always gives the same error:
[...]
Really?

: With env -a "-D -e CYGWIN=\"tty ntsec binmode\""
This is not the same as above!
And all your other examples aren't correct, too.

try exactely the line like above (or this one here):
$ cygrunsrv -I cron -p /usr/sbin/cron -a'-D' -e CYGWIN="tty ntsec binmode"

It works for me and all of us, so it should work for you, too.
BTW, i have 'CYGWIN=ntsec tty' as systemwide environment variable,
which is (IMHO) the best option.

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/

