[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#453931: lintian: Warn when using gksu/kdesu instead of su-to-root



Package: lintian
Severity: wishlist

Hi,

it would be nice if lintian could give a warning when maintainers are
using gksu or kdesu in their desktop files or menu entries.

Basically for two reasons:

0. Desktop Integration

It doesn't make sense that e.g. a KDE application calls (hardcoded)
kdesu when beeing used on a Gnome environment. It should use su-to-root,
which will automatically call either gksu (default) or kdesu (when
beeing launched under KDE) for better integration into the running
desktop environment.

1. Live Integration

On Debian Live systems, we can not use su, but sudo (avoid setting a
root password for security and usability reasons). If all desktop
entries and menu files would use su-to-root, we can overwrite the
default usage of su on one central place (/etc/su-to-rootrc resp.
 ~/.su-to-rootrc) and be done with it.

Currently, an application on a live system which requires root rights
but calls kdesu or gsku instead of su-to-root uses therefore su, which
won't work, and thus, the user ends up with a non-working application.

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/




Reply to: