[arch-general] Permanently allow root access

Damjan gdamjan at gmail.com
Tue Feb 11 08:56:53 EST 2014


On вто, 11 фев 2014 13:41:08 CET, Martti Kühne wrote:
> 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.

hmm, seems not

pacman -Qkk sudo
sudo: 146 total files, 0 altered files

/etc/sudoers is not changed, nor is /etc/pam.d/sudo - and it just 
includes system-auth which is not changed from the original either

The only thing custom I have is /etc/sudoers.d/wheel with
damjan ALL=(ALL) ALL

--
damjan


More information about the arch-general mailing list