mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-11-26 16:37:11 -05:00
emerg-shutdown: Add shutdown timeout for preventing stuck shutdowns, briefly document feature set and usage
This commit is contained in:
parent
e42078e90d
commit
1a60da71ed
8 changed files with 257 additions and 26 deletions
13
README.md
13
README.md
|
|
@ -712,6 +712,19 @@ See:
|
|||
* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=860040
|
||||
* https://forums.whonix.org/t/cannot-use-pkexec/8129
|
||||
|
||||
## Emergency shutdown
|
||||
|
||||
- Forcibly powers off the system if the drive the system booted from is
|
||||
removed from the system.
|
||||
- Forcibly powers off the system if a user-configurable "panic key sequence"
|
||||
is pressed (Ctrl+Alt+Delete by default).
|
||||
- Forcibly powers off the system if
|
||||
`sudo /run/emerg-shutdown --instant-shutdown` is called.
|
||||
- Optional - Forcibly powers off the system if shutdown gets stuck for longer
|
||||
than a user-configurable number of seconds (30 by default). Requires tuning
|
||||
by the user to function properly, see notes in
|
||||
`/etc/security-misc/emerg-shutdown/30_security_misc.conf`.
|
||||
|
||||
## Application-specific hardening
|
||||
|
||||
- Enables "`apt-get --error-on=any`" which makes apt exit non-zero for
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue