Archived

This topic is now archived and is closed to further replies.

stefu

Ask root?

Recommended Posts

stefu    120
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

Share this post


Link to post
Share on other sites
stefu    120
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

Share this post


Link to post
Share on other sites
Guest Anonymous Poster   
Guest Anonymous Poster
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

Share this post


Link to post
Share on other sites
stefu    120
quote:
Original post by Null and Void
Download and install ''xsu''. Then create a shortcut of some kind that executes this: xsu -u root -c ''gdmconfig''



Exactly, this is what I was looking for!!
Thanks

Share this post


Link to post
Share on other sites