aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>2000-04-25 12:01:23 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>2000-04-25 12:01:23 +0000
commitb531c4f9aedba9f913848af4ab43b1f203ab24b6 (patch)
tree0747a09542dd320a57e80e21d9ab497c59ca6d42 /init-sh
parent0712c3882a3bae5599ddfbda11bb2d8177c8dbc5 (diff)
downloadmsec-b531c4f9aedba9f913848af4ab43b1f203ab24b6.tar
msec-b531c4f9aedba9f913848af4ab43b1f203ab24b6.tar.gz
msec-b531c4f9aedba9f913848af4ab43b1f203ab24b6.tar.bz2
msec-b531c4f9aedba9f913848af4ab43b1f203ab24b6.tar.xz
msec-b531c4f9aedba9f913848af4ab43b1f203ab24b6.zip
*** empty log message ***
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