aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2001-12-02 05:58:38 +0000
committerFrederic Lepied <flepied@mandriva.com>2001-12-02 05:58:38 +0000
commitb1237e9ebf646e5902ab26e48bfa935c7243f391 (patch)
tree888cb16daa7d3bed0126ad8eceff808ca58c8fd9
parent3c6dd3c3f928438464518fe0fea1ad9e4d5411a0 (diff)
downloadmsec-b1237e9ebf646e5902ab26e48bfa935c7243f391.tar
msec-b1237e9ebf646e5902ab26e48bfa935c7243f391.tar.gz
msec-b1237e9ebf646e5902ab26e48bfa935c7243f391.tar.bz2
msec-b1237e9ebf646e5902ab26e48bfa935c7243f391.tar.xz
msec-b1237e9ebf646e5902ab26e48bfa935c7243f391.zip
customize rpm progs and /usr/share/doc permissions.
-rw-r--r--conf/perm.04
-rw-r--r--conf/perm.16
-rw-r--r--conf/perm.26
-rw-r--r--conf/perm.36
-rw-r--r--conf/perm.43
-rw-r--r--conf/perm.53
-rw-r--r--conf/perm.snf3
7 files changed, 24 insertions, 7 deletions
diff --git a/conf/perm.0 b/conf/perm.0
index 2ba2304..e7fbad4 100644
--- a/conf/perm.0
+++ b/conf/perm.0
@@ -13,7 +13,7 @@
/etc/cron.weekly/ root.root 755
/etc/crontab root.root 644
/etc/dhcpcd/ root.root 755
-/etc/dhcpcd/* root.root 644
+/etc/dhcpcd/* root.root 644
/etc/esd.conf root.root 644
/etc/ftpaccess root.root 644
/etc/ftpconversions root.root 644
@@ -56,6 +56,8 @@
/usr/X11R6/ root.root 755
/usr/bin/ root.root 755
/usr/sbin/ root.root 755
+/usr/lib/rpm/rpm? rpm.rpm 755
+/usr/share/doc root.root 755
/var/ root.root 755
/var/tmp root.root 1777
/var/log/ root.root 755
diff --git a/conf/perm.1 b/conf/perm.1
index 1f96d4c..ace5bcd 100644
--- a/conf/perm.1
+++ b/conf/perm.1
@@ -13,7 +13,7 @@
/etc/cron.weekly/ root.root 755
/etc/crontab root.root 644
/etc/dhcpcd/ root.root 755
-/etc/dhcpcd/* root.root 644
+/etc/dhcpcd/* root.root 644
/etc/esd.conf root.root 644
/etc/ftpaccess root.root 644
/etc/ftpconversions root.root 644
@@ -37,7 +37,7 @@
/etc/rc.d/ root.root 755
/etc/securetty root.root 644
/etc/sendmail.cf root.root 644
-/etc/shutdown.allow root.root 644
+/etc/shutdown.allow root.root 644
/etc/ssh_config root.root 644
/etc/ssh_host_key root.root 644
/etc/ssh_host_key.pub root.root 644
@@ -55,6 +55,8 @@
/usr/X11R6/ root.root 755
/usr/bin/ root.root 755
/usr/sbin/ root.root 755
+/usr/lib/rpm/rpm? rpm.rpm 755
+/usr/share/doc root.root 755
/var/ root.root 755
/var/log/ root.root 755
/var/log/* root.adm 644
diff --git a/conf/perm.2 b/conf/perm.2
index 4a56e43..890997c 100644
--- a/conf/perm.2
+++ b/conf/perm.2
@@ -13,7 +13,7 @@
/etc/cron.weekly/ root.root 755
/etc/crontab root.root 644
/etc/dhcpcd/ root.root 755
-/etc/dhcpcd/* root.root 644
+/etc/dhcpcd/* root.root 644
/etc/esd.conf root.root 644
/etc/ftpaccess root.root 644
/etc/ftpconversions root.root 644
@@ -37,7 +37,7 @@
/etc/rc.d/ root.root 755
/etc/securetty root.root 644
/etc/sendmail.cf root.root 644
-/etc/shutdown.allow root.root 644
+/etc/shutdown.allow root.root 644
/etc/ssh_config root.root 644
/etc/ssh_host_key root.root 644
/etc/ssh_host_key.pub root.root 644
@@ -56,6 +56,8 @@
/usr/X11R6/ root.root 755
/usr/bin/ root.root 755
/usr/sbin/ root.root 755
+/usr/lib/rpm/rpm? rpm.rpm 755
+/usr/share/doc root.root 755
/var/ root.root 755
/var/log/ root.root 755
/var/log/* root.adm 640
diff --git a/conf/perm.3 b/conf/perm.3
index 52322e2..11f947f 100644
--- a/conf/perm.3
+++ b/conf/perm.3
@@ -13,7 +13,7 @@
/etc/cron.weekly/ root.root 755
/etc/crontab root.root 644
/etc/dhcpcd/ root.root 755
-/etc/dhcpcd/* root.root 644
+/etc/dhcpcd/* root.root 644
/etc/esd.conf root.root 644
/etc/ftpaccess root.root 644
/etc/ftpconversions root.root 644
@@ -37,7 +37,7 @@
/etc/rc.d/ root.root 755
/etc/securetty root.root 644
/etc/sendmail.cf root.root 644
-/etc/shutdown.allow root.root 644
+/etc/shutdown.allow root.root 644
/etc/ssh_config root.root 644
/etc/ssh_host_key root.root 644
/etc/ssh_host_key.pub root.root 644
@@ -56,6 +56,8 @@
/usr/X11R6/ root.root 755
/usr/bin/ root.root 755
/usr/sbin/ root.root 755
+/usr/lib/rpm/rpm? rpm.rpm 755
+/usr/share/doc root.root 755
/var/ root.root 755
/var/log/ root.root 755
/var/log/* root.root 600
diff --git a/conf/perm.4 b/conf/perm.4
index 38123b3..7627bc5 100644
--- a/conf/perm.4
+++ b/conf/perm.4
@@ -1,6 +1,7 @@
# Welcome in Level 4, aka secure & usable.
###
/bin/ root.root 711
+/bin/rpm rpm.rpm 750
/boot/ root.root 700
/dev/ root.root 711
/dev/audio* root.audio 600
@@ -56,6 +57,8 @@
/usr/X11R6/ root.xgrp 751
/usr/bin/ root.adm 751
/usr/sbin/ root.adm 751
+/usr/lib/rpm/rpm? rpm.rpm 750
+/usr/share/doc rpm.rpm 750
/var/ root.root 755
/var/log/ root.root 711
/var/log/* root.root 600
diff --git a/conf/perm.5 b/conf/perm.5
index e6abf1d..d7279ac 100644
--- a/conf/perm.5
+++ b/conf/perm.5
@@ -1,6 +1,7 @@
# Welcome in Level 5, aka paranoid.
###
/bin/ root.root 711
+/bin/rpm rpm.rpm 750
/boot/ root.root 700
/dev/ root.root 711
/dev/audio* root.audio 600
@@ -67,6 +68,8 @@
/usr/sbin/ root.root 711
/usr/sbin/sendmail root.root 755
/usr/sbin/traceroute root.ntools 750
+/usr/lib/rpm/rpm? rpm.rpm 750
+/usr/share/doc rpm.rpm 710
/var/ root.root 755
/var/log/ root.root 711
/var/log/* root.root 600
diff --git a/conf/perm.snf b/conf/perm.snf
index 2fa956e..8170cb9 100644
--- a/conf/perm.snf
+++ b/conf/perm.snf
@@ -1,6 +1,7 @@
# Welcome in Level 4, aka secure & usable.
###
/bin/ root.root 711
+/bin/rpm rpm.rpm 750
/boot/ root.root 700
/dev/ root.root 711
/dev/audio* root.audio 600
@@ -56,6 +57,8 @@
/usr/X11R6/ root.xgrp 751
/usr/bin/ root.adm 751
/usr/sbin/ root.adm 751
+/usr/lib/rpm/rpm? rpm.rpm 750
+/usr/share/doc rpm.rpm 750
/var/ root.root 755
/var/log/ root.root 711
/var/log/* root.root 600