aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Siegel <siegel@linux-mandrake.com>2002-01-17 23:33:45 +0000
committerStefan Siegel <siegel@linux-mandrake.com>2002-01-17 23:33:45 +0000
commit2c4abc1ab4999e906243055fba32c86b182738d5 (patch)
tree725edd1cd6bcbd8ba6d22d4c7781a14dd6d70920
parent682dd06b79e4ed7aeb4b8ea569b76a5f2e9c47c7 (diff)
downloadmsec-2c4abc1ab4999e906243055fba32c86b182738d5.tar
msec-2c4abc1ab4999e906243055fba32c86b182738d5.tar.gz
msec-2c4abc1ab4999e906243055fba32c86b182738d5.tar.bz2
msec-2c4abc1ab4999e906243055fba32c86b182738d5.tar.xz
msec-2c4abc1ab4999e906243055fba32c86b182738d5.zip
use "groupadd -g" to ensure the groupid provided by latest setup package
-rwxr-xr-xinit-sh/cleanold.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/init-sh/cleanold.sh b/init-sh/cleanold.sh
index 90c2df8..2af1f6c 100755
--- a/init-sh/cleanold.sh
+++ b/init-sh/cleanold.sh
@@ -121,13 +121,13 @@ else
chmod 755 /etc/profile.d/msec.csh
fi
-# 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