This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygrunsrv can't run as administrator


Alex,

On Sun, Oct 12, 2003 at 01:47:37PM -0700, Alex Liberman wrote:
> 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

Huh?  Why do you run fetchmail as suggested in the README?

    http://www.tishler.net/jason/software/fetchmail/fetchmail-6.2.4.README

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]