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/etc | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 infest/etc (limited to 'infest/etc') diff --git a/infest/etc b/infest/etc new file mode 100755 index 00000000..72e7e074 --- /dev/null +++ b/infest/etc @@ -0,0 +1,28 @@ +#! /bin/sh + +cat>/etc/motd.tail<>$f + +f=/etc/group +sed -ri 's^(root:[^:]+):0:(.*)$\1:23:\2' $f +sed -ri '/^krebs/d' $f +echo 'krebs:x:0:' >>$f + +for i in etc/*; do + cat $i > /$i +done -- cgit v1.2.3