disable sysrq

This commit is contained in:
monsieuremre 2023-11-02 13:01:55 +00:00 committed by GitHub
parent a768f1f1eb
commit ac224b270a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,11 +137,8 @@ net.ipv4.tcp_timestamps=0
#### meta end #### meta end
## Only allow the SysRq key to be used for shutdowns and the ## Disable SysRq key
## Secure Attention Key (SAK). kernel.sysrq=0
##
## https://forums.whonix.org/t/sysrq-magic-sysrq-key/8079/
kernel.sysrq=132
## Restrict loading TTY line disciplines to CAP_SYS_MODULE to prevent ## Restrict loading TTY line disciplines to CAP_SYS_MODULE to prevent
## unprivileged attackers from loading vulnerable line disciplines ## unprivileged attackers from loading vulnerable line disciplines