From bc9005e441d87b5dd0c056a68191bf86c3e3790b Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 18 Jul 2016 21:39:48 +1200 Subject: Recommend a dummy user --- README.markdown | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.markdown b/README.markdown index 7055bee..0205678 100644 --- a/README.markdown +++ b/README.markdown @@ -4,6 +4,15 @@ doomsh Use `ulimit` to severely restrict your Bash shell's resources, and see how long you can last before segfaulting or giving up. +The author highly recommends you create a dummy user to run this, so that you +don't end up munging important files in your `HOME`. + + $ sudo useradd -m doomguy + $ sudo -i -u doomguy + $ git clone https://sanctum.geek.nz/code/doomsh.git + $ cd doomsh + $ ./doomsh + Not really important or useful in any way, but kind of fun to see what breaks when resources are really tight, especially when it exposes problems in programs like failing to check for NULL returns from `malloc(3)`. -- cgit v1.2.3