Thursday, May 08, 2025

Re: UPDATE: x11/emwm & x11/emwm-utils 1.2 -> 1.3

On Sun, May 04, 2025 at 07:11:37PM -0500, izzy Meyer wrote:
> Hello, Stuart and Lucas pushed me to switch x11/emwm-utils to use
> authenticate(3) instead of SUID root in [1].
>
> Well, this diff attached does this. I could not figure out how to get
> the shutdown and reboot stuff sorted. My user is in _shutdown and I
> tried setting REBOOT_CMD acccordingly, but to no avail. I'll need to
> refine the reboot/shutdown/suspend later. Now, locking works properly
> without SUID root. This diff is a combined update of both x11/emwm and
> x11/emwm-utils, hopefully that's alright?
>
> Tested on OpenBSD 7.7-current/amd64 and 7.7-current/arm64
>
> Thanks. Do people have critiques/feedback?
>
> Below is a changelog of the 1.2->1.3 changes that this diff also
> provides.

Thanks, committed!

For the record, I swapped the order of @mode and @group to match that
of `make update-plist`. I also suggest you try to upstream the support
for BSD Authentication system.

No comments:

Post a Comment