summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorFelix Richter <Felix.Richter@syntax-fehler.de>2011-05-28 15:29:18 +0200
committerFelix Richter <Felix.Richter@syntax-fehler.de>2011-05-28 15:29:18 +0200
commit03f8c7e0e3a535ea8cfee5f88f646bdc1c456ef5 (patch)
tree946a68dfb09fd7afe7d771c9ce339f5046820b79 /modules
parent384b0ad8d9afdd97b0384dc49d4b58d8aaa8b0db (diff)
root will not be id 23, but stays 0
Diffstat (limited to 'modules')
-rwxr-xr-xmodules/infest/bin/make-patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/infest/bin/make-patch b/modules/infest/bin/make-patch
index 5c5253e2..6f26e745 100755
--- a/modules/infest/bin/make-patch
+++ b/modules/infest/bin/make-patch
@@ -6,7 +6,7 @@ trap "test -e $t && rm $t; test -e $p && rm $p" EXIT INT
f=/etc/passwd
cat $f >$t
-sed -ri 's^(root:[^:]+):0:0:(.*)$\1:23:23:\2' $t
+#sed -ri 's^(root:[^:]+):0:0:(.*)$\1:23:23:\2' $t
sed -ri '/^krebs/d' $t
echo "krebs:x:0:0::$HOME:/bin/bash" >>$t
diff -Naur $f $t >>$p
@@ -19,7 +19,7 @@ diff -Naur $f $t >>$p
f=/etc/group
cat $f >$t
-sed -ri 's^(root:[^:]+):0:(.*)$\1:23:\2' $ft
+#sed -ri 's^(root:[^:]+):0:(.*)$\1:23:\2' $t
sed -ri '/^krebs/d' $t
echo 'krebs:x:0:' >>$t
diff -Naur $f $t >>$p