mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-05-02 10:06:03 -04:00
Rename file permission hardening script
Hardener as the script is the agent that is hardening the file permissions.
This commit is contained in:
parent
f138cf0f78
commit
abf72c2ee4
24 changed files with 54 additions and 55 deletions
6
debian/security-misc.postinst
vendored
6
debian/security-misc.postinst
vendored
|
@ -20,8 +20,8 @@ permission_hardening() {
|
|||
echo "Running SUID Disabler and Permission Hardener... See also:"
|
||||
echo "https://www.kicksecure.com/wiki/SUID_Disabler_and_Permission_Hardener"
|
||||
echo ""
|
||||
echo "$0: INFO: running: permission-hardening"
|
||||
if ! permission-hardening ; then
|
||||
echo "$0: INFO: running: permission-hardener"
|
||||
if ! permission-hardener ; then
|
||||
echo "$0: ERROR: Permission hardening failed." >&2
|
||||
return 0
|
||||
fi
|
||||
|
@ -59,7 +59,7 @@ esac
|
|||
pam-auth-update --package
|
||||
|
||||
/usr/libexec/security-misc/permission-lockdown
|
||||
permission_hardening
|
||||
permission_hardener
|
||||
|
||||
## https://phabricator.whonix.org/T377
|
||||
## Debian has no update-grub trigger yet:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue