mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-26 05:49:28 -05:00
output
This commit is contained in:
parent
72f6e6bb9c
commit
df5f3e8056
@ -6,9 +6,6 @@
|
|||||||
## https://forums.whonix.org/t/disable-suid-binaries/7706
|
## https://forums.whonix.org/t/disable-suid-binaries/7706
|
||||||
## https://forums.whonix.org/t/re-mount-home-and-other-with-noexec-and-nosuid-among-other-useful-mount-options-for-better-security/7707
|
## https://forums.whonix.org/t/re-mount-home-and-other-with-noexec-and-nosuid-among-other-useful-mount-options-for-better-security/7707
|
||||||
|
|
||||||
## To view previous modes and how these were changed:
|
|
||||||
## meld /var/lib/permission-hardening/existing_mode/statoverride /var/lib/permission-hardening/new_mode/statoverride
|
|
||||||
|
|
||||||
## To undo:
|
## To undo:
|
||||||
## sudo /usr/libexec/security-misc/permission-hardening-undo
|
## sudo /usr/libexec/security-misc/permission-hardening-undo
|
||||||
|
|
||||||
@ -498,6 +495,14 @@ parse_config_folder() {
|
|||||||
sanity_tests
|
sanity_tests
|
||||||
parse_config_folder
|
parse_config_folder
|
||||||
|
|
||||||
|
echo "\
|
||||||
|
INFO: To compare the current and previous permission modes:
|
||||||
|
1. Install 'meld' (or similar) for an easier comparison of file changes:
|
||||||
|
sudo apt install --no-install-recommends meld
|
||||||
|
|
||||||
|
2. Use 'meld' to view the differences:
|
||||||
|
meld /var/lib/permission-hardening/existing_mode/statoverride /var/lib/permission-hardening/new_mode/statoverride"
|
||||||
|
|
||||||
if [ ! "$exit_code" = "0" ]; then
|
if [ ! "$exit_code" = "0" ]; then
|
||||||
echo "ERROR: Will exit with non-zero exit code: '$exit_code'" >&2
|
echo "ERROR: Will exit with non-zero exit code: '$exit_code'" >&2
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user