aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>1999-12-14 17:24:33 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>1999-12-14 17:24:33 +0000
commit06aaa6b7a378ae8679b245fc5b964b150cd05467 (patch)
treefb186aca2df4955dc5a2d82b3595a50d1cd0bc0c /init-sh
parent0f480b97b806558927c656b236c2f08e7c12742f (diff)
downloadmsec-06aaa6b7a378ae8679b245fc5b964b150cd05467.tar
msec-06aaa6b7a378ae8679b245fc5b964b150cd05467.tar.gz
msec-06aaa6b7a378ae8679b245fc5b964b150cd05467.tar.bz2
msec-06aaa6b7a378ae8679b245fc5b964b150cd05467.tar.xz
msec-06aaa6b7a378ae8679b245fc5b964b150cd05467.zip
*** empty log message ***
Diffstat (limited to 'init-sh')
-rwxr-xr-xinit-sh/level1.sh3
-rwxr-xr-xinit-sh/level2.sh3
-rw-r--r--init-sh/lib.sh2
3 files changed, 2 insertions, 6 deletions
diff --git a/init-sh/level1.sh b/init-sh/level1.sh
index 30bf76a..fe56164 100755
--- a/init-sh/level1.sh
+++ b/init-sh/level1.sh
@@ -75,10 +75,9 @@ AddBegRules "/usr/X11R6/bin/xhost + localhost" /etc/X11/xinit/xinitrc
# Group
if [[ ! -z ${DRAKX_USERS} ]]; then
- echo -n "Adding \"${DRAKX_USERS}\" to audio & mail group :"
+ echo -n "Adding \"${DRAKX_USERS}\" to audio group :"
for user in ${DRAKX_USERS}; do
usermod -G audio "${user}"
- usermod -G mail "${user}"
done
echo "done."
fi
diff --git a/init-sh/level2.sh b/init-sh/level2.sh
index e8ab1bd..7f68980 100755
--- a/init-sh/level2.sh
+++ b/init-sh/level2.sh
@@ -72,10 +72,9 @@ AddBegRules "/usr/X11R6/bin/xhost + localhost" /etc/X11/xinit/xinitrc
# Group
if [[ ! -z ${DRAKX_USERS} ]]; then
- echo -n "Adding \"${DRAKX_USERS}\" to audio & mail group :"
+ echo -n "Adding \"${DRAKX_USERS}\" to audio group :"
for user in ${DRAKX_USERS}; do
usermod -G audio "${user}"
- usermod -G mail "${user}"
done
echo "done."
fi
diff --git a/init-sh/lib.sh b/init-sh/lib.sh
index d9566e3..429db65 100644
--- a/init-sh/lib.sh
+++ b/init-sh/lib.sh
@@ -208,7 +208,6 @@ 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
@@ -221,7 +220,6 @@ 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