Browse Source

AMBARI-2550. htpasswd.users is readable by all users who have access. (Artem Baranchuk via smohanty)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1499487 13f79535-47bb-0310-9956-ffa450edef68
Sumit Mohanty 12 years ago
parent
commit
116e7b7e6a

+ 1 - 1
ambari-agent/src/main/puppet/modules/hdp-nagios/manifests/server.pp

@@ -253,7 +253,7 @@ class hdp-nagios::server::web_permisssions()
   file { "/etc/nagios/htpasswd.users" :
     owner => $hdp-nagios::params::nagios_user,
     group => $hdp-nagios::params::nagios_group,
-    mode  => '0644'
+    mode  => '0640'
   }
 
   Hdp::Exec[$cmd] -> File["/etc/nagios/htpasswd.users"]