How do I elevate privileges programmatically under Linux environment when I spawn a Process? For Windows console applications, it can be done by setting startInfo.Verb = "runas";
according to this post. However, that does not work under Linux environment.
For example, I want to have a Process that can create, delete, edit, move to, move from, etc, in the root directory. How can I elevate the privilege so all subsequent process call and not require the user to input their password?