Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Originating-IP: [64.81.52.97] X-Originating-Email: [alexsf AT hotmail DOT com] From: "Alex Liberman" To: cygwin AT cygwin DOT com Subject: Re: cygrunsrv can't run as administrator Date: Sun, 12 Oct 2003 13:47:37 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 12 Oct 2003 20:47:37.0720 (UTC) FILETIME=[1229D780:01C39102] >The administrator account has by default no right to start services. >You can add that right by calling > editrights -u administrator -a SeServiceLogonRight >Corinna thx but that wasn't it either, however have worked around by pointing cygrunsrv --path to a script hehe cygrunsrv -I fetchmail --path /bin/bash.exe -a /home/Administrator/sh.sh --shutdown $ cat sh.sh #!/bin/bash exec su Administrator -c "/bin/fetchmail -N" < /home/Administrator/pass.txt _________________________________________________________________ Instant message during games with MSN Messenger 6.0. Download it now FREE! http://msnmessenger-download.com -- 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/