Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: "'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) Content-Type: text/plain; charset="iso-8859-1" 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/