[Gtk-sharp-list] Root Access

Darwin Reynoso monouser at gmail.com
Sun Apr 20 11:42:07 EDT 2008


Hi,
does anyone knows how to execute a program with root access.

this is what i'm doing...

protected virtual void onErase (object sender, System.EventArgs e)
	{
		Process pc = new Process();
		
		pc.StartInfo.FileName = "/home/user/bin/usb_pickit";
		pc.StartInfo.Arguments = "-e";
		pc.StartInfo.RedirectStandardOutput = false;		
		pc.Start();
		
	}
but i get a console output saying that i need super user power and
this is how i do it within  a console
sudo /home/user/bin/usb_pickit -e any ideas please

thanks


More information about the Gtk-sharp-list mailing list