[Mono-dev] UserName/Password not being used by Process/ProcessStartInfo?
robertj at gmx.net
Thu Feb 16 09:22:33 UTC 2012
On 16.02.2012 07:03, ray2k wrote:
> Note the disparity between 'Invoking HelloWorld.exe as testuser' and
> 'Environment.UserName = ec2-user'. What gives? I know slightly more than
> nothing about linux- is this related to its shell/security posture or
> something? Shouldn't I be seeing Environment.UserName = testuser?
Mono does not support ProcessStartInfo.UserName and Password.
You may want to use 'sudo' or 'su' instead.
More information about the Mono-devel-list