On 09/07/2011 10:06 AM, sfrazt wrote:
> hi,
>
> i run lxc under debian sid with lxc version 0.7.5.1.
> I run a debian like system in lxc container and vnc4server inside.
> Therefor i
> have created a user.
>
> The effect is that. If i start vnc4user manually as user with
>                                                              
>     vnc4server :1 -geometry 800x600                          
>
> ps -aux shows as running command
>                                 
>     Xvnc4 :1 -desktop b:1 (lxcuser) -auth /home/lxcuser/.Xauthority
> -geometry...
>
> I get the same when i type as root
>     su - lxcuser -c "vnc4server :1 -geometry 800x600"
>
> But, when i put the line
>     su - lxcuser -c "vnc4server :1 -geometry 800x600 2>/dev/null"
> into my container rc.local (so it is autoexecuted at boot)
> ps -aux shows
>              
>     Xvnc4 :1 -desktop b:1 (lxcuser) -auth
> /var/run/gdm3/auth-for-HOSTUSER-6czu0s/database -geometry...
>
> The problem is that HOSTUSER (my user account at host system
> and gdm3 and the file doesn't  should exist (and doesn't exist)
> in the container. In hole container there is no text where
> this filename appears.
>
> My question is now: Where does this filename came from? Is it
> a security hole?
>
Is it possible that's coming from an environment variable ?

------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to