aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/security.txt1
-rwxr-xr-xinit-sh/level2.sh9
-rw-r--r--init-sh/perm.12
-rw-r--r--init-sh/perm.21
-rw-r--r--init-sh/perm.41
-rw-r--r--init-sh/perm.52
6 files changed, 6 insertions, 10 deletions
diff --git a/doc/security.txt b/doc/security.txt
index ae44383..86c101c 100644
--- a/doc/security.txt
+++ b/doc/security.txt
@@ -16,7 +16,6 @@ Security level 2 :
- Suid root file check
- Suid root file md5sum check
- Writeable file check
-- Warning directly on tty
- Warning in syslog
- Warning in /var/log/security.log
diff --git a/init-sh/level2.sh b/init-sh/level2.sh
index 7f68980..39cb7d1 100755
--- a/init-sh/level2.sh
+++ b/init-sh/level2.sh
@@ -70,12 +70,5 @@ echo "Allowing users to connect X server from localhost :"
AddBegRules "/usr/X11R6/bin/xhost + localhost" /etc/X11/xdm/Xsession quiet
AddBegRules "/usr/X11R6/bin/xhost + localhost" /etc/X11/xinit/xinitrc
-# Group
-if [[ ! -z ${DRAKX_USERS} ]]; then
- echo -n "Adding \"${DRAKX_USERS}\" to audio group :"
- for user in ${DRAKX_USERS}; do
- usermod -G audio "${user}"
- done
- echo "done."
-fi
+
diff --git a/init-sh/perm.1 b/init-sh/perm.1
index 0cae0d7..8286023 100644
--- a/init-sh/perm.1
+++ b/init-sh/perm.1
@@ -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 1777
diff --git a/init-sh/perm.2 b/init-sh/perm.2
index 4c06b7b..689e732 100644
--- a/init-sh/perm.2
+++ b/init-sh/perm.2
@@ -59,3 +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
diff --git a/init-sh/perm.4 b/init-sh/perm.4
index cf6b02f..1962319 100644
--- a/init-sh/perm.4
+++ b/init-sh/perm.4
@@ -60,3 +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
diff --git a/init-sh/perm.5 b/init-sh/perm.5
index fffdfde..139c958 100644
--- a/init-sh/perm.5
+++ b/init-sh/perm.5
@@ -61,3 +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
+