questions about pkexec

David Zeuthen david at fubar.dk
Tue Dec 15 10:52:35 PST 2009


On Fri, 2009-12-11 at 12:54 -0500, Matthew Miller wrote:
> Sudo does, in a rudimentary way. Anything in the env_check list is
> removed if the value contains a % or a / character. The default list
> treated this way is:
> 
>   TERM
>   LINGUAS
>   LC_*
>   LANGUAGE
>   LANG
>   COLORTERM
> 
> Additionally, the following variables are kept by default:
> 
>   LOGNAME
>   SHELL
>   USER
>   USERNAME 
>   SUDO_*

I've added the same to pkexec(1)

http://cgit.freedesktop.org/PolicyKit/commit/?id=5a388b6ebb095de6dc7f315b651a84fc31d268d7

Thanks,
David




More information about the polkit-devel mailing list