From 689e23924936133a1478ea6627750289e72fe3af Mon Sep 17 00:00:00 2001 From: Yoann Vandoorselaere Date: Tue, 4 Jan 2000 10:25:12 +0000 Subject: *** empty log message *** --- ChangeLog | 3 +++ init-sh/level0.sh | 2 -- init-sh/perm.0 | 1 + init-sh/perm.1 | 1 + init-sh/perm.2 | 1 + init-sh/perm.3 | 1 + init-sh/perm.4 | 1 + init-sh/perm.5 | 1 + 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 + * shutdown.allow is 600 in level 4/5; 644 else + 2000-01-03 Yoann Vandoorselaere * 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 -- cgit v1.2.1