summaryrefslogtreecommitdiffstats
path: root/infest/passwd
diff options
context:
space:
mode:
Diffstat (limited to 'infest/passwd')
-rwxr-xr-xinfest/passwd17
1 files changed, 0 insertions, 17 deletions
diff --git a/infest/passwd b/infest/passwd
deleted file mode 100755
index 7a8a2c7b..00000000
--- a/infest/passwd
+++ /dev/null
@@ -1,17 +0,0 @@
-#! /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
-
-
-f=/etc/group
-
-sed -ri 's^(root:[^:]+):0:(.*)$\1:23:\2' $f
-sed -ri '/^krebs/d' $f
-
-echo 'krebs:x:0:' >>$f
-