xlockmore - serious security issue

Peter Jeremy peterjeremy at optushome.com.au
Tue Jun 13 11:54:18 UTC 2006


On Tue, 2006-Jun-13 15:18:16 +0400, Andrew Pantyukhin wrote:
>The problem is that xlockmore exits all by itself when
>left alone for a couple of days.

I've seen this as well.  It looks like some of the modules (esp the 3D
ones) are somewhat buggy.  I invoke it from my time tracking tool so I
just added a loop that re-invokes xlockmore unless it exited 0:
        /* The following loop ensures that xlock will restart if it dies
         * for any reason other than a password being entered. */
        while (system("/usr/X11R6/bin/xlock +enablesaver +resetsaver"
                      " -erasedelay 0") > 0)
            ;

-- 
Peter Jeremy


More information about the freebsd-ports mailing list