From b1237e9ebf646e5902ab26e48bfa935c7243f391 Mon Sep 17 00:00:00 2001 From: Frederic Lepied Date: Sun, 2 Dec 2001 05:58:38 +0000 Subject: customize rpm progs and /usr/share/doc permissions. --- conf/perm.0 | 4 +++- conf/perm.1 | 6 ++++-- conf/perm.2 | 6 ++++-- conf/perm.3 | 6 ++++-- conf/perm.4 | 3 +++ conf/perm.5 | 3 +++ conf/perm.snf | 3 +++ 7 files changed, 24 insertions(+), 7 deletions(-) (limited to 'conf') 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 -- cgit v1.2.1