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 ]
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
But that didn''t answer the question I know there''s way to do it but can find.
-----------
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'
[edited by - Null and Void on October 3, 2002 5:40:56 PM]
[edited by - Null and Void on October 3, 2002 5:40:56 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 question I 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