On Fri, 06.02.15 14:11, Mantas Mikulėnas (graw...@gmail.com) wrote:
> On Fri, Feb 6, 2015 at 2:02 PM, Simon McVittie <
> simon.mcvit...@collabora.co.uk> wrote:
>
> > On 06/02/15 03:32, 张洋 wrote:
> >
> >> dbus-daemon --session --print-address --fork > /tmp/session_amgr
> >>
> >
> > This is a secur
On Fri, Feb 6, 2015 at 2:02 PM, Simon McVittie <
simon.mcvit...@collabora.co.uk> wrote:
> On 06/02/15 03:32, 张洋 wrote:
>
>> dbus-daemon --session --print-address --fork > /tmp/session_amgr
>>
>
> This is a security flaw (the search keywords to look for are "symlink
> attack").
>
True, although sy
On 06/02/15 03:32, 张洋 wrote:
dbus-daemon --session --print-address --fork > /tmp/session_amgr
This is a security flaw (the search keywords to look for are "symlink
attack").
export DBUS_SESSION_BUS_ADDRESS=`cat /tmp/session_amgr`
This only affects the environment of the shell script that
Hi all
I've got a problem here:
When my system setup I need to execute a shell script to export dbus
session address, the script as follows:
#!/bin/sh
rm /tmp/session_amgr
dbus-daemon --session --print-address --fork > /tmp/session_amgr
export DBUS_SESSION_BUS_ADDRESS=`cat /tmp/session_amgr`
An