logon as a service

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Mar 19 11:19:00 GMT 2003


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@cygwin.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/



More information about the Cygwin mailing list