mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-23 01:23:36 +07:00
fix postinst for new permission-hardener
https://github.com/Kicksecure/security-misc/pull/181
This commit is contained in:
parent
862bf6b5ab
commit
a90cd43631
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-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:
|
||||
|
Loading…
Reference in New Issue
Block a user