Refactor permission-hardener to be more idempotent

This commit is contained in:
Aaron Rainbolt 2024-12-24 20:14:57 -06:00
parent 2f3a2bce77
commit 83d3867959
No known key found for this signature in database
GPG key ID: A709160D73C79109
4 changed files with 1287 additions and 514 deletions

View file

@ -10,5 +10,7 @@
# user logins with `su` and KScreenLocker
#
# See also: https://www.kicksecure.com/wiki/SUID_Disabler_and_Permission_Hardener#passwd
/usr/bin/passwd exactwhitelist
/bin/passwd exactwhitelist
/usr/bin/passwd 0755 root root
/bin/passwd 0755 root root