Click here to Skip to main content
16,010,553 members
Home / Discussions / System Admin
   

System Admin

 
GeneralRe: Windows Registry Pin
Badut2-Feb-04 14:12
Badut2-Feb-04 14:12 
GeneralRe: Windows Registry Pin
Matt Newman2-Feb-04 15:05
Matt Newman2-Feb-04 15:05 
GeneralSingle process priviliges Pin
Bob Stanneveld31-Jan-04 4:37
Bob Stanneveld31-Jan-04 4:37 
GeneralRe: Single process priviliges Pin
Matt Newman31-Jan-04 6:08
Matt Newman31-Jan-04 6:08 
GeneralRe: Single process priviliges Pin
Anonymous31-Jan-04 6:51
Anonymous31-Jan-04 6:51 
GeneralRe: Single process priviliges Pin
Bob Stanneveld31-Jan-04 6:51
Bob Stanneveld31-Jan-04 6:51 
GeneralRe: Single process priviliges Pin
Matt Newman31-Jan-04 9:27
Matt Newman31-Jan-04 9:27 
GeneralRe: Single process priviliges Pin
Steve S2-Feb-04 2:42
Steve S2-Feb-04 2:42 
See that light, see that tunnel.
The original question was 'Can I run a program with SETUID on', translated from UN*X-speak to Windows-speak.

I believe the answer is no, you cannot. To impersonate another user requires the other user's password. RunAs is the Windows equivalent of 'su'. There is no equivalent of 'execute as owner' in Windows.

You could, programmatically, using SSPI, create an impersonation token, but again, that requires the user's credentials (guess how RunAs works?). It would be difficult (and foolish) to make available the password to an application without also running the risk that it would become widely available, not to mention the difficulties of keeping it in step with any password changes (although password notification would be one mechanism).

Steve S
GeneralProblem Tomcat sessions Under IE after installed VS.NET Pin
dje_jay28-Jan-04 7:37
dje_jay28-Jan-04 7:37 
GeneralAdd-in PCI IDE Card Pin
Michael Martin26-Jan-04 15:15
professionalMichael Martin26-Jan-04 15:15 
GeneralRe: Add-in PCI IDE Card Pin
Matt Newman27-Jan-04 4:53
Matt Newman27-Jan-04 4:53 
GeneralRe: Add-in PCI IDE Card Pin
Michael Martin27-Jan-04 12:15
professionalMichael Martin27-Jan-04 12:15 
GeneralRe: Add-in PCI IDE Card Pin
Matt Newman27-Jan-04 17:12
Matt Newman27-Jan-04 17:12 
GeneralRe: Add-in PCI IDE Card Pin
Michael Martin27-Jan-04 17:46
professionalMichael Martin27-Jan-04 17:46 
QuestionHow do you uninstall compiled software on Solaris Pin
Anonymous26-Jan-04 9:31
Anonymous26-Jan-04 9:31 
AnswerRe: How do you uninstall compiled software on Solaris Pin
Matt Newman27-Jan-04 4:55
Matt Newman27-Jan-04 4:55 
General(22)Invalid argument: setgid: unable to set g roup id to Group 4294967295 Pin
Anonymous26-Jan-04 8:02
Anonymous26-Jan-04 8:02 
GeneralRe: (22)Invalid argument: setgid: unable to set group id to Group 4294967295 Pin
Steve S30-Jan-04 2:54
Steve S30-Jan-04 2:54 
QuestionAre There Any DNS Gurus Out There? Pin
Roger Wright25-Jan-04 18:17
professionalRoger Wright25-Jan-04 18:17 
AnswerRe: Are There Any DNS Gurus Out There? Pin
Matt Newman26-Jan-04 10:55
Matt Newman26-Jan-04 10:55 
GeneralRe: Are There Any DNS Gurus Out There? Pin
Roger Wright26-Jan-04 12:28
professionalRoger Wright26-Jan-04 12:28 
GeneralWinXP Corrupt Pin
Aamir Mughal25-Jan-04 3:27
Aamir Mughal25-Jan-04 3:27 
GeneralRe: WinXP Corrupt Pin
Michael Dunn25-Jan-04 9:02
sitebuilderMichael Dunn25-Jan-04 9:02 
GeneralRe: WinXP Corrupt Pin
Roger Wright26-Jan-04 6:19
professionalRoger Wright26-Jan-04 6:19 
GeneralRe: WinXP Corrupt Pin
-- NA --31-Jan-04 6:53
-- NA --31-Jan-04 6:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.