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 Message-ID: <006001c40232$468ea3b0$ac050b0a@PWISNOVSKY> Reply-To: "Peter Wisnovsky" From: "Peter Wisnovsky" To: References: <002a01c4021e$a0b509b0$ac050b0a AT PWISNOVSKY> Subject: Re: fetchmail password from cygrunsrv Date: Thu, 4 Mar 2004 13:47:21 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit > Look carefully at the cygrunsrv help output, in particular, the > --interactive and --type options. I think the combination of those with > the --user option might get you what you want. It might be harder to get > rid of the command window once fetchmail gets the password, though... Thanks, but I tried that and got an error setting up the service ~% cygrunsrv --install fetchmail --path /usr/bin/fetchmail --args "--daemon 300 --nodetach" --env HOME=/home/user--termsig TERM --user domain\user--shutdown --type manual --interactive Enter password of user `domain\user: Reenter, please: cygrunsrv: Error installing a service: CreateService: Win32 error 87: The parameter is incorrect. I think this relates to the fact that only services logging in with the local system account can be configured to interact with the desktop...so it appears that the --user and --interactive flags are exclusive. Peter -- 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/