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

Re: Bug#602118: menu: su-to-root script should include kdesudo method to gain root privileges

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
>       kdesudo) kdesudo -u "$PRIV" "$COMMAND";;

Niccolo Rigacci
Firenze - Italy

Reply to: