[arch-general] Permanently allow root access

Martti Kühne mysatyre at gmail.com
Tue Feb 11 07:41:08 EST 2014


On Mon, Feb 10, 2014 at 7:10 PM, Damjan <gdamjan at gmail.com> wrote:
>
> why don't you just use sudo?
>
> $ sudo env
> ...
> DISPLAY=:0
> XAUTHORITY=/home/damjan/.Xauthority
> ...
>
> those are propagated by default (I don't remember setting this up)
>
>
> --
> дамјан

Well... locally, at least, that's exactly why I needed that wrapper:

$ command sudo env | grep ^XAUTHORITY
$ sudo env | grep ^XAUTHORITY
XAUTHORITY=/home/martti/.Xauthority

you yourself are obviously relying on one of the proposed fixes,
likely the one from your sudoers file.

cheers!
mar77i


More information about the arch-general mailing list