Results 1 to 4 of 4
Hi All,
I'm trying to make a launcher for a program that requires root privileges, how can I do this? I am hoping to get it to function just like ...
- 04-06-2009 #1
[SOLVED] launcher for sudo app?
Hi All,
I'm trying to make a launcher for a program that requires root privileges, how can I do this? I am hoping to get it to function just like the admin stuff functions, where a password prompt comes up. ThanksBodhi 1.3 & Bodhi 1.4 using E17
Dell Studio 17, Intel Graphics card, 4 gigs of RAM, E17
"The beauty in life can only be found by moving past the materialism which defines human nature and into the higher realm of thought and knowledge"
- 04-06-2009 #2
Use gksu
eg.
this will open nautilus with root privilageesgksu nautilus
EDIT:
for KDE its kdsu.
- 04-06-2009 #3Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
Would integrating kdesu or gksu be of any use to you? You could check to see if the UID=0. If it's not, have the program call itself through gksu/kdesu and exit.
Other than that you could use freedesktop.org's xdg-su from the Portland project. Portland is included in most distros these days as far as I'm aware.
- 04-11-2009 #4
thanks for the guide, solved
Bodhi 1.3 & Bodhi 1.4 using E17
Dell Studio 17, Intel Graphics card, 4 gigs of RAM, E17
"The beauty in life can only be found by moving past the materialism which defines human nature and into the higher realm of thought and knowledge"


