Skip to content
Browse files

jmxremote.password shall be readonly to owner.

  • Loading branch information...
1 parent 135db97 commit a6d3825554ac681a4833e0c627a1d9a92c0ffcec @jeffhung jeffhung committed Jun 12, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 tme-broker.rb
View
2 tme-broker.rb
@@ -29,6 +29,8 @@ def install
system "make", "--directory=src/broker", "BUILD_PREFIX=#{prefix}", "INSTALLPATH=", "CONFPATH=etc/tme", "LIBPATH=lib/tme-broker", "install"
+ chmod 0400, "#{prefix}/etc/tme/broker/jmxremote.password", :verbose => true
+
# No need to have init.d scripts.
remove_dir "#{prefix}/etc/init.d"
# Can't have install/remove scripts since they depends on init.d script.

0 comments on commit a6d3825

Please sign in to comment.
Something went wrong with that request. Please try again.