aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh
diff options
context:
space:
mode:
Diffstat (limited to 'init-sh')
-rw-r--r--init-sh/lib.sh14
-rw-r--r--init-sh/lib.sh.usermode57
2 files changed, 14 insertions, 57 deletions
diff --git a/init-sh/lib.sh b/init-sh/lib.sh
index 4be663b..17b007f 100644
--- a/init-sh/lib.sh
+++ b/init-sh/lib.sh
@@ -339,7 +339,7 @@ RestoreIssues () {
# If we are currently installing our
# system with DrakX, we don't ask anything to the user...
-# Instead, DrakX do it and give us a file with some variable.
+# Instead, DrakX does it and gives us a file with some variables.
if [[ -f /etc/security/msec/security.conf ]]; then
. /etc/security/msec/security.conf
fi
@@ -396,13 +396,13 @@ echo -e "\nStarting to reconfigure the system : "
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 already check for their existance...
+# default groups which must exist on the system
+# groupadd already checks for their existance...
groupadd nogroup >& /dev/null
-groupadd audio >& /dev/null
-groupadd xgrp >& /dev/null
-groupadd ntools >& /dev/null
-groupadd ctools >& /dev/null
+groupadd -g 26 xgrp >& /dev/null
+groupadd -g 33 ntools >& /dev/null
+groupadd -g 34 ctools >& /dev/null
+groupadd -g 81 audio >& /dev/null
usermod -G xgrp xfs
diff --git a/init-sh/lib.sh.usermode b/init-sh/lib.sh.usermode
index 05e8c20..0458704 100644
--- a/init-sh/lib.sh.usermode
+++ b/init-sh/lib.sh.usermode
@@ -303,7 +303,7 @@ RootSshLogin () {
# If we are currently installing our
# system with DrakX, we don't ask anything to the user...
-# Instead, DrakX do it and give us a file with some variable.
+# Instead, DrakX does it and gives us a file with some variables.
if [[ -f /etc/security/msec/security.conf ]]; then
. /etc/security/msec/security.conf
fi
@@ -341,58 +341,15 @@ echo -e "\nStarting to reconfigure the system : "
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 already check for their existance...
+# default groups which must exist on the system
+# groupadd already checks for their existance...
groupadd nogroup >& /dev/null
-groupadd audio >& /dev/null
-groupadd xgrp >& /dev/null
-groupadd ntools >& /dev/null
-groupadd ctools >& /dev/null
+groupadd -g 26 xgrp >& /dev/null
+groupadd -g 33 ntools >& /dev/null
+groupadd -g 34 ctools >& /dev/null
+groupadd -g 81 audio >& /dev/null
usermod -G xgrp xfs
/usr/share/msec/grpuser.sh --clean
echo
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-