This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: logon as a service
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 19 Mar 2003 09:31:59 +0100
- Subject: Re: logon as a service
- References: <F88pEDiOa7ddhlHs46t00006798@hotmail.com>
- Reply-to: cygwin at cygwin dot com
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/