I'm creating a program that needs to be initially run as a normal user to get some information specific to the user but for certain functions requires root priviledges. I'm using linux..what would be the best way to do this?
By the way this is a gui using GTK.