CVSROOT: /cvs
Module name: ports
Changes by: [email protected] 2021/11/17 00:01:41
Modified files:
x11/xfce4/xfce4-screensaver: Makefile
x11/xfce4/xfce4-screensaver/pkg: PLIST
Added files:
x11/xfce4/xfce4-screensaver/files: ask-pass.c
Log message:
x11/xfce4/xfce4-screensaver: fix unlock dialog with glib 2.70
since glib 2.70 one cant create dbus msgs when being setuid ('Cannot
spawn a message bus when setuid.'), so checking the password when
unlocking the screen fails.
Remove the setuid root bit from xfce4-screensaver-dialog binary (which
was checking the passwd via bsd_auth), and make it spawn a small setgid
auth helper calling bsd_auth (helper largely inspired by code from
Natanael Copa via alpine, and also by code from ajacoutot@)
see https://gitlab.xfce.org/apps/xfce4-screensaver/-/issues/96
originally reported by Peter Hansteen
tested by matthieu@, abieber@ & Peter Hansteen