Skip to content

Commit fd7f523

Browse files
committed
Restrict access to the client config file to protect client tokens
When using command token substitution we put passwords in the client config file. In order to properly protect the passwords this file must not be world readable.
1 parent c23ce98 commit fd7f523

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/client/config.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
ensure => $ensure,
1919
owner => 'sensu',
2020
group => 'sensu',
21-
mode => '0444',
21+
mode => '0440',
2222
}
2323

2424
sensu_client_config { $::fqdn:

0 commit comments

Comments
 (0)