Bug 15316 - xscreensaver should check if linux-pam is enabled
Summary: xscreensaver should check if linux-pam is enabled
Status: RESOLVED MOVED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2022.11.1
Hardware: All Linux
: P5 trivial
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-03 16:20 UTC by Jonathan Bittner
Modified: 2024-06-15 15:05 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!