delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/12/16:47:53

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <alexsf AT hotmail DOT com>
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
Message-ID: <BAY9-F39usMjQHtMFau0000d08b@hotmail.com>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019