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: logon as a service


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/


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