Re: [dev] [SLOCK] is not safe

From: Moritz Wilhelmy <crap_AT_wzff.de>
Date: Sun, 17 Jan 2010 19:50:33 +0100

On Sun, Jan 17, 2010 at 10:33:12AM -0800, Thayer Williams wrote:
> On Jan 17, 2010 at 07:28 AM, Premysl Hruby <dfenze_AT_gmail.com> wrote:
> > On (17/01/10 16:17), Julien Pecqueur wrote:
> > > I'm using slock and i am suprised to realize that is not safe at all!
> > >
> > > I launched slock in my DWM session. I just have to press CTRL+ALT+F1
> > > and press CTRL+z (to send startx in background an get the hand on the
> > > shell) and type "killall slock" to unlock the session...
> > >
> >
> > But that is not problem of slock, but the problem how you start X :-)
>
> Exactly, the above method doesn't work when X is started like so:
>
> # auto startx if logging in at VC/1
> if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
> startx >& ~/.myXLog
> logout
> fi
>

This also doesn't work in all cases, for instance if somebody engraves
the magic word "Elbereth" into your computer with a magic marker, slock
will turn around immediately and flee.
Received on Sun Jan 17 2010 - 18:50:33 UTC

This archive was generated by hypermail 2.2.0 : Sun Jan 17 2010 - 19:00:02 UTC