This is the mail archive of the cygwin-developers@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: Windows 2003


On Thu, Jul 10, 2003 at 05:05:55PM -0400, Pierre A. Humblet wrote:
> I just reread the CreateProcessAsUser page. We do a RevertToSelf, so
> we access the executable image in the security context of the caller.
> Accessing C:\cygwin\bin\bash.exe isn't the issue, the error message 
> must be about some other path...

I've just got it working with a non-SYSTEM user under which sshd is
running.  The problem was a still missing user privilege.  The user
starting sshd as service needs not only the "Create a token object"
but also the "Replace a process level token" privilege, otherwise
the CreateProcessAsUser fails.  After finding it it suddenly is clear
why it didn't work.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.


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