mirror of
https://github.com/imthenachoman/How-To-Secure-A-Linux-Server.git
synced 2026-11-01 10:48:24 +01:00
Update README.md
This commit is contained in:
1 parent
7319a19de8
commit
ddc8b6cc08
1 file changed
+3
-3
@@ -1050,7 +1050,7 @@ I won't provide [For the lazy](#Editing-Configuration-Files---For-The-Lazy) code
|
||||
Example:
|
||||
|
||||
``` bash
|
||||
sudo sysctl -w kernel.exec-shield=1
|
||||
sudo sysctl -w kernel.ctrl-alt-del=0
|
||||
```
|
||||
|
||||
**Note**: There are no spaces in `key=value`, including before and after the space.
|
||||
@@ -1059,10 +1059,10 @@ I won't provide [For the lazy](#Editing-Configuration-Files---For-The-Lazy) code
|
||||
|
||||
``` bash
|
||||
$ sudo cat /etc/sysctl.conf
|
||||
kernel.exec-shield = 1
|
||||
kernel.ctrl-alt-del = 0
|
||||
fs.file-max = 65535
|
||||
...
|
||||
kernel.ctrl-alt-del = 0
|
||||
kernel.sysrq = 0
|
||||
```
|
||||
|
||||
1. After updating the file you can reload the settings or reboot. To reload:
|
||||
|
||||
Reference in new issue
Block a user