diff options
author | Yoann Vandoorselaere <yoann@mandriva.com> | 2001-09-19 12:32:18 +0000 |
---|---|---|
committer | Yoann Vandoorselaere <yoann@mandriva.com> | 2001-09-19 12:32:18 +0000 |
commit | 7ed5f259034dd1ccb0464d2b4a331661703354de (patch) | |
tree | c07d002bbaf3ee7deea638e246056b408b0a351f /init-sh/lib.sh | |
parent | 97c6fa2c93ba25de834af9844c099f85ad0868ff (diff) | |
download | msec-7ed5f259034dd1ccb0464d2b4a331661703354de.tar msec-7ed5f259034dd1ccb0464d2b4a331661703354de.tar.gz msec-7ed5f259034dd1ccb0464d2b4a331661703354de.tar.bz2 msec-7ed5f259034dd1ccb0464d2b4a331661703354de.tar.xz msec-7ed5f259034dd1ccb0464d2b4a331661703354de.zip |
- Output in /etc/profile.d/msec.sh as only .sh extenssion files are read.V0_15_26mdk
- Keep the output of the SECURE_LEVEL in /etc/profile and /etc/zprofile.
Diffstat (limited to 'init-sh/lib.sh')
-rw-r--r-- | init-sh/lib.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/init-sh/lib.sh b/init-sh/lib.sh index baf2b4f..c929ed6 100644 --- a/init-sh/lib.sh +++ b/init-sh/lib.sh @@ -329,6 +329,7 @@ CommentUserRules /etc/securetty CleanRules /etc/security/msec/security.conf CommentUserRules /etc/security/msec/security.conf CleanRules /etc/profile +CleanRules /etc/zprofile CleanRules /etc/ld.so.preload CleanLoaderRules @@ -347,11 +348,11 @@ else fi -if [[ -f /etc/profile.d/msec ]]; then - CleanRules /etc/profile.d/msec +if [[ -f /etc/profile.d/msec.sh ]]; then + CleanRules /etc/profile.d/msec.sh else - touch /etc/profile.d/msec - chmod 755 /etc/profile.d/msec + touch /etc/profile.d/msec.sh + chmod 755 /etc/profile.d/msec.sh fi |