[Mono-list] Administrator privileges for my App when running from MonoVS

ivancmz ivancmz at yahoo.com
Tue May 18 02:02:32 EDT 2010



Christopher David Howie wrote:
> 
> Adding users to groups that have access to devices is the 
> proper way to grant permissions to access such devices.
> When possible, your users should take this route.
> 

Excellent then... if this is the way to do it, then it's solved.


Christopher David Howie wrote:
> 
> ...you can write a shell script that tests if the
> user has read and write access to the serial port.  If they do, it just
> runs your program.  Otherwise, it runs gksu or su to invoke your Mono
> app as root.
> 

I'll definitively look into this, sounds like great option if I can't teach 
users to join the permissions groups... 

Thank you very much, Christopher, you've been very helpful
-- 
View this message in context: http://mono.1490590.n4.nabble.com/Administrator-privileges-for-my-App-when-running-from-MonoVS-tp2220493p2220773.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list