aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/lib.sh
diff options
context:
space:
mode:
Diffstat (limited to 'init-sh/lib.sh')
-rw-r--r--init-sh/lib.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/init-sh/lib.sh b/init-sh/lib.sh
index 429db65..d9566e3 100644
--- a/init-sh/lib.sh
+++ b/init-sh/lib.sh
@@ -208,6 +208,7 @@ echo "Setting spoofing protection : "
AddRules "echo 1 > /proc/sys/net/ipv4/conf/all/rp_filter" /etc/rc.d/rc.firewall
# default group which must exist on the system
+groupadd mail >& /dev/null
groupadd nogroup >& /dev/null
groupadd audio >& /dev/null
groupadd xgrp >& /dev/null
@@ -220,6 +221,7 @@ if [[ ! -f /tmp/secure.DrakX ]]; then
if [[ ! -z ${DRAKX_USERS} ]]; then
for user in ${DRAKX_USERS}; do
/etc/security/msec/init-sh/grpuser --del audio "${user}"
+ /etc/security/msec/init-sh/grpuser --del mail "${user}"
done
fi
else