After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 126052 - GST should use external helper for authentication
GST should use external helper for authentication
Status: RESOLVED FIXED
Product: gnome-system-tools
Classification: Deprecated
Component: general
CVS latest
Other Linux
: Normal normal
: ---
Assigned To: Carlos Garnacho
Carlos Garnacho
: 344575 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-11-02 16:30 UTC by Mark Finlay
Modified: 2007-02-11 22:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Mark Finlay 2003-11-02 16:30:05 UTC
Libgnomesu is a library in gnome cvs that has been written to be a secure
portable way to run programs as root. I would recommend using it for the
GST for Gnome 2.6.
Comment 1 Carlos Garnacho 2003-11-12 18:12:55 UTC
hmmmm, mark, there's nowadays a big problem with using libgnomesu, the
gst authentication method simply provides more functionality (it's
able to run the backend through ssh and su), and using libgnomesu
would mean a regression... We'll have to wait and see if libgnomesu
someday provides remote authentication too... :)
Comment 2 Mantas Kriaučiūnas 2004-06-27 09:12:32 UTC
It seems libgnomesu can't be used in gst, because as I see in CHANGELOG file
sudo backend is disabled and broken and may be removed in the future :(
See comments in src/sudo.c :
"Now there's no way to verify that the password has been successfully accepted,
so this backend is broken.
Unless I find a good way to fix this, this backend may be removed in the future."

I think it's better to use libgksu - it provides a way to run programs as other
users with su and sudo, look at

http://www.nongnu.org/gksu/

API reference is at
http://people.debian.org/~kov/gksu/libgksu1.2/reference/libgksu12-GksuContext.html

There are also debian packages for this and we should just ask if gksu
maintainer want to add remote authentication support :)
Comment 3 Jaap A. Haitsma 2004-07-10 11:06:47 UTC
I think that gksu then would be a great candidate for standard inclusion in GNOME
Comment 4 Stephane Loeuillet 2006-01-24 17:47:04 UTC
several gnome apps in 2.13 now uses gksu/libgksu and libgksuui
Comment 5 Carlos Garnacho 2007-02-11 22:45:19 UTC
DBus use makes this pretty customizable, I think I can mark this as fixed
Comment 6 Carlos Garnacho 2007-02-11 22:47:35 UTC
*** Bug 344575 has been marked as a duplicate of this bug. ***