[Mono-list] How to: start a process which shows a password window

Dimitar Dobrev dpldobrev at yahoo.com
Fri Dec 17 19:48:38 EST 2010


Hi,

I need to start a process on Mac OS X with root privileges which must prompt
the user for a password. In Windows Vista and above this is achieved by
setting Process.StartInfo.Verb to "runas". Unfortunately, this didn't work
on the mac, the password window did not appear. I guess it won't work in
Linux as well. Any ideas? Is this possible in any way (as far as Linux is
concerned, gksudo is not desirable because it's not guaranteed to be
available in KDE)?
-- 
View this message in context: http://mono.1490590.n4.nabble.com/How-to-start-a-process-which-shows-a-password-window-tp3093329p3093329.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list