delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/27/11:09:21

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
Message-ID: <1A05332A91CFD411BC7F00902754B62201F753E1@xlivmbx10.aig.com>
From: "Cioffari, Joseph" <Joseph DOT Cioffari AT aig DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Starting cron as a different user on Windows 2K
Date: Mon, 27 Aug 2001 11:08:07 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)

I am having problems starting cron as another use besides SYSTEM. 

$cygrunsrv -I cron -p /usr/sbin/cron.exe -a -D -u testuser
Enter password of user `.\testuser':
Reenter, please:

$cygrunsrv -S cron
cygrunsrv: Error starting a service: StartService:  Win32 error 5:
Access is denied.

When I try to start cron from the services menu in Windows, I receive the
following message

"Access is denied"

Here are the W2K permissions I granted to the 'testuser' in order to have
rights to start cron as user 'testuser'.

I added the user to the administrators group and granted the following:

Act as part of the operating system
Increase quotas
Log on as a service
Log on locally
Replace a process level token
Also has access to all privledges that the administrators group has.


Am I missing something here?

Thanks, 
Joe

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