From a90cd43631216f28a18a1b3f066b9f6ef3301ac4 Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Tue, 16 Jan 2024 08:32:52 -0500 Subject: [PATCH] fix postinst for new permission-hardener https://github.com/Kicksecure/security-misc/pull/181 --- debian/security-misc.postinst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/security-misc.postinst b/debian/security-misc.postinst index da358e3..68ea720 100644 --- a/debian/security-misc.postinst +++ b/debian/security-misc.postinst @@ -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-hardener" - if ! permission-hardener ; then + echo "$0: INFO: running: permission-hardener enable" + if ! permission-hardener enable ; 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_hardener +permission_hardening ## https://phabricator.whonix.org/T377 ## Debian has no update-grub trigger yet: