diff options
author | Stefan Siegel <siegel@linux-mandrake.com> | 2002-01-17 17:22:55 +0000 |
---|---|---|
committer | Stefan Siegel <siegel@linux-mandrake.com> | 2002-01-17 17:22:55 +0000 |
commit | 1ff71ce4eb92eeeb629ce2669a8db801f182249c (patch) | |
tree | caedae558636b061fe1844b96f00ebaa03b6d04d | |
parent | 548f5894f5fa47f342dbd4804ee510ddf5d231b7 (diff) | |
download | msec-1ff71ce4eb92eeeb629ce2669a8db801f182249c.tar msec-1ff71ce4eb92eeeb629ce2669a8db801f182249c.tar.gz msec-1ff71ce4eb92eeeb629ce2669a8db801f182249c.tar.bz2 msec-1ff71ce4eb92eeeb629ce2669a8db801f182249c.tar.xz msec-1ff71ce4eb92eeeb629ce2669a8db801f182249c.zip |
use "groupadd -g" to ensure the groupid provided by latest setup packageBEFORE_PYTHON
-rw-r--r-- | init-sh/lib.sh | 14 | ||||
-rw-r--r-- | init-sh/lib.sh.usermode | 57 |
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 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |