mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-05-13 14:22:13 -04:00
comments
This commit is contained in:
parent
a1f898e3b3
commit
d13d1aa7ec
1 changed files with 18 additions and 1 deletions
|
@ -1,11 +1,28 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
## Copyright (C) 2019 - 2023 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>
|
## Copyright (C) 2019 - 2024 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>
|
||||||
## See the file COPYING for copying conditions.
|
## See the file COPYING for copying conditions.
|
||||||
|
|
||||||
|
## features:
|
||||||
|
## - nodev,nosuid where appropriate
|
||||||
|
## - optional noexec for most except /home
|
||||||
|
## - optional noexec for all including /home
|
||||||
|
## - idempotent (script can be safely re-run)
|
||||||
|
## - can be run from:
|
||||||
|
## - systemd
|
||||||
|
## - dracut
|
||||||
|
## - manually from command line
|
||||||
|
## - can safely handle non-existing folders
|
||||||
|
## - error handling
|
||||||
|
## - log output:
|
||||||
|
## - shows each and every command executed
|
||||||
|
## - shows old mount options prior running remount-secure
|
||||||
|
## - shows new mount options after running remount-secure
|
||||||
|
|
||||||
## noexec in /tmp and/or /home can break some malware but also legitimate
|
## noexec in /tmp and/or /home can break some malware but also legitimate
|
||||||
## applications.
|
## applications.
|
||||||
|
|
||||||
|
## https://www.kicksecure.com/wiki/Noexec
|
||||||
## https://www.kicksecure.com/wiki/Dev/remount-secure
|
## https://www.kicksecure.com/wiki/Dev/remount-secure
|
||||||
## 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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue