Accept strings for uid and gid spawning #741

Open
bmeck opened this Issue Mar 14, 2013 · 0 comments

Projects

None yet

1 participant

@bmeck

On Windows you currently cannot spawn a process as a different user ( source ). This is because the [SID](http://msdn.microsoft.com/en-us/library/windows/desktop/aa379594(v=vs.85\).aspx) structures used are only reliably serialized as strings not numbers. By adding this, we can spawn up a privileged application (service) and have it drop privileges without going through runas which has some issues with extra FDs, popping up dialogs, and saved credentials (cross account fun).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment