From cb1664c7f07c17e729b07a06e7f2547603f700e9 Mon Sep 17 00:00:00 2001 From: krebs Date: Thu, 5 May 2011 11:33:49 +0200 Subject: infest/etc: do all the various /etc infestation --- infest/passwd | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100755 infest/passwd (limited to 'infest/passwd') 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 - -- cgit v1.2.3