mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-libs/pam: give unix_chkpwd CAP_DAC_READ_SEARCH
CAP_DAC_OVERRIDE is overkill; we only need read access to /etc/shadow. Closes: https://bugs.gentoo.org/963110 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
@@ -187,5 +187,5 @@ pkg_postinst() {
|
||||
|
||||
# The pam_unix module needs to check the password of the user which requires
|
||||
# read access to /etc/shadow only.
|
||||
fcaps -m u+s cap_dac_override sbin/unix_chkpwd
|
||||
fcaps -m u+s cap_dac_read_search sbin/unix_chkpwd
|
||||
}
|
||||
Reference in New Issue
Block a user