mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-10-01 08:25:45 -04:00
permission-hardening -> permission-hardener migration
mv --verbose /var/lib/permission-hardening /var/lib/permission-hardener https://github.com/Kicksecure/security-misc/pull/181
This commit is contained in:
parent
a90cd43631
commit
ed7c09fc46
11
debian/security-misc.postinst
vendored
11
debian/security-misc.postinst
vendored
@ -15,6 +15,16 @@ true "
|
||||
#####################################################################
|
||||
"
|
||||
|
||||
permission_hardening_legacy() {
|
||||
if test -d /var/lib/permission-hardener ; then
|
||||
return 0
|
||||
fi
|
||||
if ! test -d /var/lib/permission-hardening ; then
|
||||
return 0
|
||||
fi
|
||||
mv --verbose /var/lib/permission-hardening /var/lib/permission-hardener
|
||||
}
|
||||
|
||||
permission_hardening() {
|
||||
echo ""
|
||||
echo "Running SUID Disabler and Permission Hardener... See also:"
|
||||
@ -59,6 +69,7 @@ esac
|
||||
pam-auth-update --package
|
||||
|
||||
/usr/libexec/security-misc/permission-lockdown
|
||||
permission_hardening_legacy
|
||||
permission_hardening
|
||||
|
||||
## https://phabricator.whonix.org/T377
|
||||
|
Loading…
Reference in New Issue
Block a user