Launcher gizmo from su to sudo ??

Tony Nelson tonynelson at
Tue Jun 12 21:33:41 UTC 2007

At 2:26 PM -0400 6/12/07, William Case wrote:
>I originally asked this question on the Gnome list and got this quoted
>> > Is there a relatively simple way to change admin/system programs
>> > by gnome launchers so that they ask for / accept the users password
>> > the sudoers file and configuration instead of only the root
>> I think that's distribution specific.  Fedora, for example, asks for
>> the root password (or at least it did up to FC5, the last one I used).
>>  Ubuntu asks for the user's password.  I believe the app used is
>> gksu(do).
>I have just done a clean Fedora 7 install, replacing FC6.  I'll ask on
>the Fedora list.
>So, I am asking.  Can I change the su launcher gizmo to a sudo qizmo
>with out ripping things apart?  e.g. change something in the launcher
>command line?

I did this:

    # sleep 10 ; ps -ef
    Launch something administrative, get dialog

I see that userhelper is being used.  Man userhelper indicates that it
looks in /etc/security/console.apps/<command name> to see which user to
authenticate, and there I see "root".  If the variable USER is set to
"<user>", then the invoking user is authenticated (much like sudo, but not
using sodoers).
TonyN.:'                       <mailto:tonynelson at>
      '                              <>

More information about the fedora-list mailing list