Polish permission-hardener refactor

This commit is contained in:
Aaron Rainbolt 2024-12-25 19:48:28 -06:00
parent 83d3867959
commit dbcb612517
No known key found for this signature in database
GPG key ID: A709160D73C79109
3 changed files with 184 additions and 869 deletions

View file

@ -7,7 +7,8 @@
# Keep the `passwd` utility executable to prevent issues with the
# /usr/libexec/security-misc/pam-abort-on-locked-password script blocking
# user logins with `su` and KScreenLocker
# user logins with `su` and KScreenLocker. exactwhitelist is needed to keep
# the nosuid rule on /usr/bin from fighting with these rules.
#
# See also: https://www.kicksecure.com/wiki/SUID_Disabler_and_Permission_Hardener#passwd
/usr/bin/passwd exactwhitelist