Re: How to raise rights...
- From: "Eugene Gershnik" <gershnik@xxxxxxxxxxx>
- Date: Wed, 6 Jul 2005 11:05:16 -0700
Christian Kaiser wrote:
> I cannot use the SSPI login that you suggest, as LOGON_NETWORK does
> not give me the right to write into HKEY_LOCAL_MACHINE (at least my
> test say so). Especially when I start an OLE server to register
> itself ("app.exe /register"), I need LOGON_INTERACTIVE, I guess.
Logon type has (almost) nothing to do with rights. Unless somebody
specifically denied access to "Network" in a DACL there shouldn't be any
difference. The simplest check is to use regedit remotely ("Connect network
registry"). If it allows you to change relevant keys the netwrok logon on a
local box should be as good.
Most likely you had some other kind of problem.
> OK, let me rewrite my question :))) If the admin token is the current
> token of a thread, and CreateProcess is called in that thread, may I
> assume the new process inherits that token?
Yes. That's how all these runas, cmdasuser etc. work.
--
Eugene
http://www.gershnik.com
.
- Follow-Ups:
- Re: How to raise rights...
- From: Christian Kaiser
- Re: How to raise rights...
- From: Christian Kaiser
- Re: How to raise rights...
- From: Pavel Lebedinsky [MSFT]
- Re: How to raise rights...
- References:
- How to raise rights...
- From: Christian Kaiser
- Re: How to raise rights...
- From: Eugene Gershnik
- Re: How to raise rights...
- From: Christian Kaiser
- Re: How to raise rights...
- From: Eugene Gershnik
- Re: How to raise rights...
- From: Christian Kaiser
- Re: How to raise rights...
- From: Eugene Gershnik
- Re: How to raise rights...
- From: Christian Kaiser
- How to raise rights...
- Prev by Date: Re: calling a batch file within a thread?
- Next by Date: Ctrl-C simulation
- Previous by thread: Re: How to raise rights...
- Next by thread: Re: How to raise rights...
- Index(es):
Relevant Pages
|