diff options
author | Yoann Vandoorselaere <yoann@mandriva.com> | 1999-11-25 20:24:53 +0000 |
---|---|---|
committer | Yoann Vandoorselaere <yoann@mandriva.com> | 1999-11-25 20:24:53 +0000 |
commit | 93b4db587a0d9d372c04b9347efdacf2b9e78ff3 (patch) | |
tree | f769900aefa1584c8b226d97f651ffee4d68da07 /init-sh/level4.sh | |
parent | 78b13ca5f0677f9e6e5a07a18473a2d7724b51d0 (diff) | |
download | msec-93b4db587a0d9d372c04b9347efdacf2b9e78ff3.tar msec-93b4db587a0d9d372c04b9347efdacf2b9e78ff3.tar.gz msec-93b4db587a0d9d372c04b9347efdacf2b9e78ff3.tar.bz2 msec-93b4db587a0d9d372c04b9347efdacf2b9e78ff3.tar.xz msec-93b4db587a0d9d372c04b9347efdacf2b9e78ff3.zip |
level[45].sh : use the new --msec option when calling chkconfig
msec.spec : updated release version number
Diffstat (limited to 'init-sh/level4.sh')
-rwxr-xr-x | init-sh/level4.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/init-sh/level4.sh b/init-sh/level4.sh index 283817a..f8e00a1 100755 --- a/init-sh/level4.sh +++ b/init-sh/level4.sh @@ -47,6 +47,15 @@ AddRules "0 0-23 * * * root nice --adjustment=+19 /etc/security/msec/cron- LiloUpdate; /sbin/lilo +# Server update +AddRules "SECURE_LEVEL=4" /etc/profile +export SECURE_LEVEL=4 + +for service in `chkconfig --list | awk '{print $1}'`; do + chkconfig --del "${service}" + chkconfig --msec --add "${service}" +done + # Permissions AddRules "umask 022" /etc/profile |