move permission-hardening to /usr/bin to make it more easily accessible

This commit is contained in:
Patrick Schleizer 2023-11-05 15:13:01 -05:00
parent c75f80b29f
commit 4a19fbae0b
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48
3 changed files with 2 additions and 2 deletions

View File

@ -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: run: /usr/libexec/security-misc/permission-hardening"
if ! /usr/libexec/security-misc/permission-hardening ; then
echo "$0: INFO: run: permission-hardening"
if ! permission-hardening ; then
echo "$0: ERROR: Permission hardening failed." >&2
return 0
fi