On Fri, Dec 14, 2012 at 08:40:33AM +0800, Ian Pangilinan wrote:
> Package: menu
> Version: 2.1.46
> Severity: important
> Tags: upstream
> 
> Dear Maintainer,
> 
> Running applications that require root privileges from the menu results in 
> that
> application running as root but instead is using the user's HOME directory.
> 
> This only happens when sux is used as the su-like program called by 
> 'su-to-root
> -X', others seem to be unnaffected such as gksu, kdesu, etc.
> 
> This is an undesired behavior as far as I can tell, and could potentially 
> cause
> severe problems for the user's profile.
> 
> Irrespective of the desktop environment that is used, the unexpected behavior
> may be triggered by forcing usage of sux when su-to-root is called: "echo
> 'SU_TO_ROOT_X=sux' > /etc/su-to-rootrc"

Hello Ian,

As you can see, su-to-root is a rather stupid wrapper and does not make
any policy decision by itself. Whether HOME should be kept or changed is a
policy decision, and the su-to-root documentation does not take side on this
issue.

On the other hand, I am surprised by your report, because I think su-to-root
support for sux is broken in Debian. So I do not know how you can test it.
I just report bug #695920 asking for clarification of sux interface.

For me it fails with 
'env: -c: No such file or directory'

So what su-to-root script do you use ?

Cheers,
-- 
Bill. <ballo...@debian.org>

Imagine a large red swirl here. 


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to