diff options
author | Yoann Vandoorselaere <yoann@mandriva.com> | 1999-12-19 23:51:09 +0000 |
---|---|---|
committer | Yoann Vandoorselaere <yoann@mandriva.com> | 1999-12-19 23:51:09 +0000 |
commit | 806886a2991b69eca580f294f5387440dbaafef5 (patch) | |
tree | 982e59f13ef0a7729a82ae1acf1b779848cbf6c8 /init-sh | |
parent | 4d1715acdb11c105c8d33975711e94e35e7e04eb (diff) | |
download | msec-806886a2991b69eca580f294f5387440dbaafef5.tar msec-806886a2991b69eca580f294f5387440dbaafef5.tar.gz msec-806886a2991b69eca580f294f5387440dbaafef5.tar.bz2 msec-806886a2991b69eca580f294f5387440dbaafef5.tar.xz msec-806886a2991b69eca580f294f5387440dbaafef5.zip |
*** empty log message ***
Diffstat (limited to 'init-sh')
-rw-r--r-- | init-sh/lib.sh | 6 | ||||
-rw-r--r-- | init-sh/perm.0 | 2 | ||||
-rw-r--r-- | init-sh/perm.1 | 3 | ||||
-rw-r--r-- | init-sh/perm.2 | 2 | ||||
-rw-r--r-- | init-sh/perm.3 | 2 | ||||
-rw-r--r-- | init-sh/perm.4 | 2 | ||||
-rw-r--r-- | init-sh/perm.5 | 2 |
7 files changed, 9 insertions, 10 deletions
diff --git a/init-sh/lib.sh b/init-sh/lib.sh index 0b1f35c..2ad821f 100644 --- a/init-sh/lib.sh +++ b/init-sh/lib.sh @@ -53,7 +53,7 @@ AddBegRules() { } -CleanRules() { +OLD_CleanRules() { file=$1 ctrl=0 @@ -87,7 +87,7 @@ CleanRules() { echo "done." } -CleanRules2() { +CleanRules() { echo -en "\t- Cleaning msec appended line in $1 : " perl -ni -e '$_ eq "$ENV{COMMENT}\n" ... // or print' $1 @@ -182,7 +182,7 @@ CommentUserRules /etc/hosts.allow CleanRules /etc/securetty CommentUserRules /etc/securetty CleanRules /etc/security/msec/security.conf -#CommentUserRules /etc/security/msec/security.conf +CommentUserRules /etc/security/msec/security.conf CleanRules /etc/profile CleanRules /etc/lilo.conf CleanRules /etc/rc.d/rc.firewall diff --git a/init-sh/perm.0 b/init-sh/perm.0 index 0cae0d7..ab26d43 100644 --- a/init-sh/perm.0 +++ b/init-sh/perm.0 @@ -59,7 +59,7 @@ /var/log/* root.adm 644 /var/log/security/ root.root 700 /var/log/security/* root.root 600 - +/var/spool/mail root.mail 775 diff --git a/init-sh/perm.1 b/init-sh/perm.1 index 8286023..732a5be 100644 --- a/init-sh/perm.1 +++ b/init-sh/perm.1 @@ -59,7 +59,6 @@ /var/log/* root.adm 644 /var/log/security/ root.root 700 /var/log/security/* root.root 600 -/var/spool/mail root.mail 1777 - +/var/spool/mail root.mail 775 diff --git a/init-sh/perm.2 b/init-sh/perm.2 index 689e732..479c865 100644 --- a/init-sh/perm.2 +++ b/init-sh/perm.2 @@ -59,4 +59,4 @@ /var/log/* root.adm 640 /var/log/security root.root 700 /var/log/security/* root.root 600 -/var/spool/mail root.mail 1777 +/var/spool/mail root.mail 775
\ No newline at end of file diff --git a/init-sh/perm.3 b/init-sh/perm.3 index aab758e..c9bcbe0 100644 --- a/init-sh/perm.3 +++ b/init-sh/perm.3 @@ -59,7 +59,7 @@ /var/log/* root.root 600 /var/log/security root.root 700 /var/log/security/* root.root 600 - +/var/spool/mail root.mail 775 diff --git a/init-sh/perm.4 b/init-sh/perm.4 index 1962319..8ecdd95 100644 --- a/init-sh/perm.4 +++ b/init-sh/perm.4 @@ -60,4 +60,4 @@ /var/log/* root.root 600 /var/log/security root.root 700 /var/log/security/* root.root 600 -/var/spool/mail root.mail 755 +/var/spool/mail root.mail 775 diff --git a/init-sh/perm.5 b/init-sh/perm.5 index 139c958..1415e98 100644 --- a/init-sh/perm.5 +++ b/init-sh/perm.5 @@ -61,5 +61,5 @@ /var/log/* root.root 600 /var/log/security root.root 700 /var/log/security/* root.root 600 -/var/spool/mail root.mail 755 +/var/spool/mail root.mail 775 |