On Wed, Nov 03, 2010 at 09:52:14AM +0100, Bill Allombert wrote:
> 
> The issue is that su-to-root need to know whether it must use kdesudo or 
> kdesu,
> and neither PAM nor sudo will tell that.

If autodetection of kdesudo or kdesu is a problem, we can skip 
the autodetect and just add a "kdesudo" case.

Then the user can define SU_TO_ROOT_X='kdesudo' in his 
~/.su-to-rootrc preference file.

This is my change to su-to-root:

$ diff /usr/bin/su-to-root.dist /usr/bin/su-to-root
107a108
>       kdesudo) kdesudo -u "$PRIV" "$COMMAND";;

-- 
Niccolo Rigacci
Firenze - Italy


-- 
To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101103164211.ga29...@rigacci.org

Reply via email to