Re: CreateProcessAsUser "loses" privileges, why?
- From: "Pavel Lebedinsky" <m underscore pll at hotmail com>
- Date: Thu, 21 Apr 2005 22:24:17 -0700
What OS is this? Do you also see missing privileges if you start a
process with runas?
"Stefan Kuhr" wrote:
> I have a service (running in SYSTEM) that impersonates a client at a
> server end of a named pipe. The client is a local administrator and has
> the SE_DEBUG_NAME privilege granted. If I duplicate the impersonation
> token in the service to make it a primary token and use it to create a
> new process using CreateProcessAsUser, the SE_DEBUG_NAME privilege is
> gone, i.e. I cannot even enable it anymore. Why is that? What can I do
> to create a process with CPAU from the service running as the
> impersonated user with the full set of privileges that the client has?
> Note that this is not a restricted token that I create, it is just a
> primary token created from an impersonation token, everything happens on
> the same machine.
>
> I can successfully enable the SE_DEBUG_NAME privilege within the service
> using the primary token but somehow the process started via CPAU doesn't
> get it and cannot enable it either.
.
- Follow-Ups:
- Re: CreateProcessAsUser "loses" privileges, why?
- From: Stefan Kuhr
- Re: CreateProcessAsUser "loses" privileges, why?
- References:
- CreateProcessAsUser "loses" privileges, why?
- From: Stefan Kuhr
- CreateProcessAsUser "loses" privileges, why?
- Prev by Date: Re: An Api that lists the applications used by the a user
- Next by Date: Re: An Api that lists the applications used by the a user
- Previous by thread: CreateProcessAsUser "loses" privileges, why?
- Next by thread: Re: CreateProcessAsUser "loses" privileges, why?
- Index(es):
Relevant Pages
|
Loading