This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: cygrunsrv can't run as administrator
- From: "Alex Liberman" <alexsf at hotmail dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 12 Oct 2003 13:47:37 -0700
- Subject: Re: cygrunsrv can't run as administrator
- Bcc:
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/