Ask root?
Hi?
How can I make so that when I run i.e. GDMconfig from gnome menu it asks password and runs GDMconfig as super user?
Now when I open gdmconfig if says I must be the superuser.
Thanks
-----------
RacingTreme - for fun multiplayer racing:
http://users.utu.fi/stkibr
Open a console
su -
type the root password
start up GDMconfig from the console
do your stuff
exit
close the console.
Documents [ GDNet | MSDN | STL | OpenGL | Formats | RTFM | Asking Smart Questions ]
C++ Stuff [ MinGW | Loki | SDL | Boost. | STLport | FLTK | ACCU Recommended Books ]
su -
type the root password
start up GDMconfig from the console
do your stuff
exit
close the console.
Documents [ GDNet | MSDN | STL | OpenGL | Formats | RTFM | Asking Smart Questions ]
C++ Stuff [ MinGW | Loki | SDL | Boost. | STLport | FLTK | ACCU Recommended Books ]
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
quote:
Original post by Fruny
Open a console
su -
type the root password
start up GDMconfig from the console
do your stuff
exit
close the console.
Yes yes yes yes, that''s how I have to do it currently
![](smile.gif)
But that didn''t answer the question
![](sad.gif)
-----------
RacingTreme - for fun multiplayer racing:
http://users.utu.fi/stkibr
Download and install 'xsu'. Then create a shortcut of some kind that executes this: xsu -u root -c 'gdmconfig'
![](http://libhfs.sourceforge.net/img/thingy.png)
[edited by - Null and Void on October 3, 2002 5:40:56 PM]
![](http://libhfs.sourceforge.net/img/thingy.png)
[edited by - Null and Void on October 3, 2002 5:40:56 PM]
October 03, 2002 04:41 PM
quote:
Original post by stefu
Yes yes yes yes, that''s how I have to do it currently
But that didn''t answer the questionI know there''s way to do it but can find.
-----------
RacingTreme - for fun multiplayer racing:
<a href="http://users.utu.fi/stkibr">http://users.utu.fi/stkibr</a>
The way to do it would be using setuid, but there are issues with that, take a look at:
http://www.gtk.org/setuid.html
--
Aaron
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement