aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-12-21 22:10:17 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-12-21 22:10:17 +0000
commitddb984443a9d76bfdf9be4b5f884e8bbf5e2a2a9 (patch)
tree74160b3eb5b1e57c3ac50dc3e98439faf491af4e /init-sh
parentad301504d955663f0d60ee11217a5ffd3e121916 (diff)
downloadmsec-ddb984443a9d76bfdf9be4b5f884e8bbf5e2a2a9.tar
msec-ddb984443a9d76bfdf9be4b5f884e8bbf5e2a2a9.tar.gz
msec-ddb984443a9d76bfdf9be4b5f884e8bbf5e2a2a9.tar.bz2
msec-ddb984443a9d76bfdf9be4b5f884e8bbf5e2a2a9.tar.xz
msec-ddb984443a9d76bfdf9be4b5f884e8bbf5e2a2a9.zip
no_comment
Diffstat (limited to 'init-sh')
-rwxr-xr-xinit-sh/level1.sh1
-rwxr-xr-xinit-sh/level2.sh1
-rwxr-xr-xinit-sh/level3.sh2
-rwxr-xr-xinit-sh/level4.sh6
-rwxr-xr-xinit-sh/level5.sh4
5 files changed, 11 insertions, 3 deletions
diff --git a/init-sh/level1.sh b/init-sh/level1.sh
index 0d89ec7..2cab039 100755
--- a/init-sh/level1.sh
+++ b/init-sh/level1.sh
@@ -74,6 +74,7 @@ AddBegRules "/usr/X11R6/bin/xhost + localhost" /etc/X11/xinit/xinitrc
# Group
echo "Adding system users to specific groups :"
/etc/security/msec/init-sh/grpuser.sh --refresh
+grpconv
echo -e "done.\n"
# Do not boot on a shell
diff --git a/init-sh/level2.sh b/init-sh/level2.sh
index 271781a..a6b82c2 100755
--- a/init-sh/level2.sh
+++ b/init-sh/level2.sh
@@ -73,6 +73,7 @@ AddBegRules "/usr/X11R6/bin/xhost + localhost" /etc/X11/xinit/xinitrc
# group
echo "Adding system users to specifics groups :"
/etc/security/msec/init-sh/grpuser.sh --refresh
+grpconv
echo -e "done.\n"
# Do not boot on a shell
diff --git a/init-sh/level3.sh b/init-sh/level3.sh
index e4a9b11..6f091fd 100755
--- a/init-sh/level3.sh
+++ b/init-sh/level3.sh
@@ -81,3 +81,5 @@ cat ${tmpfile} | sed s'/\/bin\/bash --login/\/sbin\/mingetty tty1/' > /etc/initt
rm -f ${tmpfile}
echo "done."
+# Group were modified in lib.sh...
+grpconv \ No newline at end of file
diff --git a/init-sh/level4.sh b/init-sh/level4.sh
index 9e8fa1e..f1a5b4c 100755
--- a/init-sh/level4.sh
+++ b/init-sh/level4.sh
@@ -112,4 +112,8 @@ tmpfile=`mktemp /tmp/secure.XXXXXX`
cp /etc/inittab ${tmpfile}
cat ${tmpfile} | sed s'/\/bin\/bash --login/\/sbin\/mingetty tty1/' > /etc/inittab
rm -f ${tmpfile}
-echo "done." \ No newline at end of file
+echo "done."
+
+# Group were modified in lib.sh...
+grpconv
+
diff --git a/init-sh/level5.sh b/init-sh/level5.sh
index 28e9e86..a8c50ff 100755
--- a/init-sh/level5.sh
+++ b/init-sh/level5.sh
@@ -120,8 +120,8 @@ echo "you need to add your user to the \"xgrp\" group..."
echo "Use : usermod -G xgrp username"
echo
-
-
+# Group were modified in lib.sh...
+grpconv