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 Date: Wed, 19 Mar 2003 09:31:59 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: logon as a service Message-ID: <20030319083159.GM7547@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i On Tue, Mar 18, 2003 at 02:34:10PM -0800, Karl M wrote: > Hi All... > > The service is specific to a single user. I want to launch a ssh-agent for > the user at system start time, so that it can hold the keys for the user > even during logoff. It works fine on Windows-2000 Professional. > > If I run the service as SYSTEM, how do I start a process for a particular > user? Dunno. Switching user context would help. Write a program which switches to that user (setgid/setuid) then forks and exec's ssh-agent. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/