Bug 15316

Summary: xscreensaver should check if linux-pam is enabled
Product: buildroot Reporter: Jonathan Bittner <jbittner.br.bugs>
Component: OtherAssignee: unassigned
Status: RESOLVED MOVED    
Severity: trivial CC: buildroot, yann.morin.1998
Priority: P5    
Version: 2022.11.1   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description Jonathan Bittner 2023-02-03 16:20:41 UTC
At present, xscreensaver needs to be setuid root to read /etc/shadow to handle login verification for screen locking.  By having xscreensaver check if linux-pam is enabled and adding --with-pam to ./configure, screen locking can be enabled without setuid.

Note: the relevant utility from linux-pam, unix_chkpwd *DOES* need to be setuid root
Comment 1 Yann E. MORIN 2024-06-15 15:05:07 UTC
Thank you for your report.

The issue tracker for the Buildroot project has been moved to
the Gitlab.com issue tracker:
    https://gitlab.com/buildroot.org/buildroot/-/issues

We are taking this opportunity to close old issues in this old
tracker. If you believe your issue is still relevant, please
open one in the new issue tracker.

Thank you!