aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh
diff options
context:
space:
mode:
Diffstat (limited to 'init-sh')
-rw-r--r--init-sh/lib.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/init-sh/lib.sh b/init-sh/lib.sh
index d1802f6..271a69a 100644
--- a/init-sh/lib.sh
+++ b/init-sh/lib.sh
@@ -114,6 +114,8 @@ CommentUserRules() {
while read line; do
if ! echo "${line}" | grep -qE "^#"; then
echo "# ${line}"
+ else
+ echo "${line}"
fi
done < ${tmpfile} > ${file}
@@ -263,6 +265,10 @@ groupadd xgrp >& /dev/null
groupadd ntools >& /dev/null
groupadd ctools >& /dev/null
+#Fix the big security hole introduced in cooker
+userdel mandrake >& /dev/null
+groupdel mandrake >& /dev/null
+
usermod -G xgrp xfs
/usr/share/msec/grpuser.sh --clean