View Full Version : How to change run_as_root with sudo?

21st April 2006, 04:38 PM
When I want do any thing in X that want root's privilege, it ask me root's password and I must type it.
Is there any way to change it to some thing like what ubuntu do and it ask me my sudo password?

21st April 2006, 05:21 PM
This is one way.
then scroll down to
;%wheel all no password
and uncomment this line
Only do this if you are at a private machine!
writes the change and quits the vi editor.
Then you can join your user name or names to the wheel group and you can sudo with no password.

21st April 2006, 06:40 PM
I know that, and thanks but I meant how for example in gnome when I want to run pirut or yumex and system wants my root pass I do anoder way and give my pass.

21st April 2006, 09:25 PM
find the .desktop file that runs yumex and then edit it to change the Exec line from
Exec=/path/to/yumex to
Exec=sudo /path/to/yumex