On вто, 11 фев 2014 13:41:08 CET, Martti Kühne wrote:
On Mon, Feb 10, 2014 at 7:10 PM, Damjan 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
On Mon, Feb 10, 2014 at 7:10 PM, Damjan 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 ne
On 01.02.2014 04:55, piruthiviraj natarajan wrote:
I want to run root X application in a terminal.
[root@archbox ~]# smplayer
smplayer: cannot connect to X server
[root@archbox ~]#
I followed the wiki
https://wiki.archlinux.org/index.php/Running_X_apps_as_root
added export XAUTHORITY=/home/a
Am 10.02.2014 13:34, schrieb Martti Kühne:
On Mon, Feb 3, 2014 at 12:14 PM, Heiko Becker
wrote:
Hey,
I cannot reproduce your exploit.
I'm not sure if you misunderstood me. I was enumerating the 2 or 3
more obscure ways to configure this (and tbh, I'd be looking for a
while to find these), wh
On Mon, Feb 3, 2014 at 12:14 PM, Heiko Becker
wrote:
> Hey,
>
> I cannot reproduce your exploit.
>
I'm not sure if you misunderstood me. I was enumerating the 2 or 3
more obscure ways to configure this (and tbh, I'd be looking for a
while to find these), which I basically worked around in my .bas
Hey,
I cannot reproduce your exploit.
Using the stock sudoers file only with the modification
%sudo ALL=(ALL) ALL
and the place for running X applications as root is commented out.
## Run X applications through sudo; HOME is used to find the
## .Xauthority file. Note that other programs use
Hey guys
I'll just throw my more local (than probably necessary) .bashrc
function in here...
sudo ()
{
local env;
if [[ -n "$DISPLAY" ]]; then
command sudo "XAUTHORITY=$HOME/.Xauthority" "$@";
else
command sudo "$@";
fi
}
You don't give up on X11 cookies, you don'
El 01/02/2014 13:14, "piruthiviraj natarajan"
escribió:
>
> On Sat, Feb 1, 2014 at 5:31 PM, Thomas Bächler
wrote:
>
> > All the methods in the wiki are inconvenient, this one is - on the
> > contrary - extremely convenient.
> >
>
>
> sorry! my bad, I misread as 'inconvenient' in your first post.
On Sat, Feb 1, 2014 at 5:31 PM, Thomas Bächler wrote:
> All the methods in the wiki are inconvenient, this one is - on the
> contrary - extremely convenient.
>
sorry! my bad, I misread as 'inconvenient' in your first post.
Clearly my mistake.
I have added your advice in the wiki. I hope it he
Am 01.02.2014 10:06, schrieb piruthiviraj natarajan:
> On Sat, Feb 1, 2014 at 2:22 PM, Thomas Bächler wrote:
>
>> Again, the most convenient method of doing this is not included in the
>> wiki. Add the line
>>
>> session optionalpam_xauth.so
>>
>> to /etc/pam.d/su and /etc/pam.d/s
On Sat, Feb 1, 2014 at 2:22 PM, Thomas Bächler wrote:
> Again, the most convenient method of doing this is not included in the
> wiki. Add the line
>
> session optionalpam_xauth.so
>
> to /etc/pam.d/su and /etc/pam.d/su-l. Then switch to your root user
> using 'su' or 'su -'.
>
H
Am 01.02.2014 04:55, schrieb piruthiviraj natarajan:
> I want to run root X application in a terminal.
>
> [root@archbox ~]# smplayer
> smplayer: cannot connect to X server
> [root@archbox ~]#
>
>
> I followed the wiki
> https://wiki.archlinux.org/index.php/Running_X_apps_as_root
Again, the mos
I want to run root X application in a terminal.
[root@archbox ~]# smplayer
smplayer: cannot connect to X server
[root@archbox ~]#
I followed the wiki
https://wiki.archlinux.org/index.php/Running_X_apps_as_root
added export XAUTHORITY=/home/archie/.Xauthority to /etc/profile.
After this I am
13 matches
Mail list logo