diff options
-rw-r--r-- | conf/perm.snf | 2 | ||||
-rwxr-xr-x | init-sh/levelsnf.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/conf/perm.snf b/conf/perm.snf index 848054b..2fa956e 100644 --- a/conf/perm.snf +++ b/conf/perm.snf @@ -65,7 +65,7 @@ /var/log/security/* root.root 600 /var/spool/mail/ root.mail 771 /var/tmp root.root 1777 -/var/lib/monitoring httpd-naat.admin 2770 +/var/lib/monitoring root.root 751 /var/lib/naat root.admin 2770 /var/log/httpd-naat httpd-naat.admin 750 /var/www-naat httpd-naat.admin 750 diff --git a/init-sh/levelsnf.sh b/init-sh/levelsnf.sh index e86aba8..1a4ee0e 100755 --- a/init-sh/levelsnf.sh +++ b/init-sh/levelsnf.sh @@ -91,7 +91,7 @@ IFS=" " echo -n "Disabling all service, except : {" for service in `chkconfig --list | awk '{print $1}'`; do - if grep -qx ${service} /etc/security/msec/server.4; then + if grep -qx ${service} /etc/security/msec/server.snf; then echo -n " ${service}" fi done |