aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>2000-01-04 10:25:12 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>2000-01-04 10:25:12 +0000
commit689e23924936133a1478ea6627750289e72fe3af (patch)
tree9ba9eaf7b50fad9796f5f0451cb74a693bfd307c
parent91249411c477fdb4c242026259a10a4f3f9c951a (diff)
downloadmsec-689e23924936133a1478ea6627750289e72fe3af.tar
msec-689e23924936133a1478ea6627750289e72fe3af.tar.gz
msec-689e23924936133a1478ea6627750289e72fe3af.tar.bz2
msec-689e23924936133a1478ea6627750289e72fe3af.tar.xz
msec-689e23924936133a1478ea6627750289e72fe3af.zip
*** empty log message ***
-rw-r--r--ChangeLog3
-rwxr-xr-xinit-sh/level0.sh2
-rw-r--r--init-sh/perm.01
-rw-r--r--init-sh/perm.11
-rw-r--r--init-sh/perm.21
-rw-r--r--init-sh/perm.31
-rw-r--r--init-sh/perm.41
-rw-r--r--init-sh/perm.51
8 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 6900d8c..2dcf313 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2000-01-04 Yoann Vandoorselaere <yoann@mandrakesoft.com>
+ * shutdown.allow is 600 in level 4/5; 644 else
+
2000-01-03 Yoann Vandoorselaere <yoann@mandrakesoft.com>
* level 0-3 -> ctrl-alt-del allowed.
* level 4-5 -> ctrl-alt-del allowed for root.
diff --git a/init-sh/level0.sh b/init-sh/level0.sh
index 6e0be37..e4bc828 100755
--- a/init-sh/level0.sh
+++ b/init-sh/level0.sh
@@ -86,5 +86,3 @@ cat ${tmpfile} | \
sed s'/ca::ctrlaltdel:\/sbin\/shutdown -a -t3 -r now/ca::ctrlaltdel:\/sbin\/shutdown -t3 -r now/' > /etc/inittab
rm -f ${tmpfile}
echo "done."
-
-
diff --git a/init-sh/perm.0 b/init-sh/perm.0
index d305e1d..9ade3c2 100644
--- a/init-sh/perm.0
+++ b/init-sh/perm.0
@@ -37,6 +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/ssh_config root.root 644
/etc/ssh_host_key root.root 644
/etc/ssh_host_key.pub root.root 644
diff --git a/init-sh/perm.1 b/init-sh/perm.1
index b0815fa..8fc7d12 100644
--- a/init-sh/perm.1
+++ b/init-sh/perm.1
@@ -37,6 +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/ssh_config root.root 644
/etc/ssh_host_key root.root 644
/etc/ssh_host_key.pub root.root 644
diff --git a/init-sh/perm.2 b/init-sh/perm.2
index e416827..c6a3d41 100644
--- a/init-sh/perm.2
+++ b/init-sh/perm.2
@@ -37,6 +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/ssh_config root.root 644
/etc/ssh_host_key root.root 644
/etc/ssh_host_key.pub root.root 644
diff --git a/init-sh/perm.3 b/init-sh/perm.3
index 17305d7..2c8520d 100644
--- a/init-sh/perm.3
+++ b/init-sh/perm.3
@@ -37,6 +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/ssh_config root.root 644
/etc/ssh_host_key root.root 644
/etc/ssh_host_key.pub root.root 644
diff --git a/init-sh/perm.4 b/init-sh/perm.4
index 8df0c23..5acbe71 100644
--- a/init-sh/perm.4
+++ b/init-sh/perm.4
@@ -37,6 +37,7 @@
/etc/rc.d/ root.adm 640
/etc/securetty root.adm 640
/etc/sendmail.cf root.adm 640
+/etc/shutdown.allow root.root 600
/etc/ssh_config root.root 644
/etc/ssh_host_key root.adm 640
/etc/ssh_host_key.pub root.adm 644
diff --git a/init-sh/perm.5 b/init-sh/perm.5
index 5765340..6f6b50d 100644
--- a/init-sh/perm.5
+++ b/init-sh/perm.5
@@ -37,6 +37,7 @@
/etc/rc.d/ root.root 600
/etc/securetty root.root 600
/etc/sendmail.cf root.root 600
+/etc/shutdown.allow root.root 600
/etc/ssh_config root.root 644
/etc/ssh_host_key root.root 600
/etc/ssh_host_key.pub root.root 644