Browse Source

AMBARI-9674. keys/pass.txt file is readable by user group (dlysnichenko)

Lisnichenko Dmitro 10 years ago
parent
commit
dd55ce7846

+ 1 - 1
ambari-server/src/main/python/ambari_server/serverConfiguration.py

@@ -316,7 +316,7 @@ class ServerConfigDefaultsLinux(ServerConfigDefaults):
       ("/etc/ambari-server/conf", "644", "{0}", True),
       ("/etc/ambari-server/conf", "644", "{0}", True),
       ("/etc/ambari-server/conf", "755", "{0}", False),
       ("/etc/ambari-server/conf", "755", "{0}", False),
       ("/etc/ambari-server/conf/password.dat", "640", "{0}", False),
       ("/etc/ambari-server/conf/password.dat", "640", "{0}", False),
-      ("/var/lib/ambari-server/keys/pass.txt", "640", "{0}", False),
+      ("/var/lib/ambari-server/keys/pass.txt", "600", "{0}", False),
       ("/etc/ambari-server/conf/ldap-password.dat", "640", "{0}", False),
       ("/etc/ambari-server/conf/ldap-password.dat", "640", "{0}", False),
       ("/var/run/ambari-server/stack-recommendations/", "644", "{0}", True),
       ("/var/run/ambari-server/stack-recommendations/", "644", "{0}", True),
       ("/var/run/ambari-server/stack-recommendations/", "755", "{0}", False),
       ("/var/run/ambari-server/stack-recommendations/", "755", "{0}", False),