Getting root privilege



Hi,

This question is un-related to GTK+.  I just think you guys are
good *nix coder to help me.  Sorry for any inconvenience caused by this
question :-)

My application needs super-user (root) privileges to run properly...
BUT, i don't want the user to log as root or run "su root" each time he
wants to run the application... I want the application only to get the
privilege.  I was thinking about popping a dialog box asking for root
password...

Any help/comments/source will be greatly appreciated,
Thank you,
Stephane.


-- 
____________________________________

Stephane Duguay
Software Designer stagiaire
Matrox Graphics Inc.

E-Mail : sduguay matrox com
Tel. : (514) 822-6000 ext. 7331
Fax : (514) 685-7030
____________________________________




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]