From 36e61e9ee29fe4a3fe68dd1d63d16a1e1dd4b4b2 Mon Sep 17 00:00:00 2001 From: Bandie Date: Sun, 8 Apr 2018 15:45:51 +0200 Subject: [PATCH 1/2] Addendum --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1e968dc..b0f5496 100644 --- a/README.md +++ b/README.md @@ -74,9 +74,20 @@ account requisite /usr/local/lib/security/pam_panic.so ``` - See `man 8 pam_panic` for more. ## TODO - [Manpage translations](https://github.com/Bandie/pam_panic/issues?q=is%3Aissue+is%3Aopen+label%3Alocalization) + + +# Addendum + +## Poisoning memory when having a reboot or shutdown + +If you want to be sure to have your memory clear of all information when issuing a reboot/shutdown +you might want to add the option `page_poison=on` and `slub_debug=P` to your kernel command line at boot. +For GRUB2 you just append it on your `GRUB_CMDLINE_LINUX` entry in `/etc/default/grub` and then issue a rebuild +of the GRUB2 config: `grub-mkconfig -o /boot/grub/grub.cfg` + + From 9fea6d65d5a15e26fbf2a592a07d16d3cf37b4e1 Mon Sep 17 00:00:00 2001 From: Bandie Date: Sun, 8 Apr 2018 23:14:07 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d3285d7..889facf 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ See `man 8 pam_panic` and `man 1 pam_panic_pw` for more information. # Addendum -## Poisoning memory when having a reboot or shutdown +## Poisoning memory when issuing a reboot or shutdown If you want to be sure to have your memory clear of all information when issuing a reboot/shutdown you might want to add the option `page_poison=on` and `slub_debug=P` to your kernel command line at boot.