puppet-splunk icon indicating copy to clipboard operation
puppet-splunk copied to clipboard

/opt/splunk/etc/passwd wrong permissions

Open jose-lmax opened this issue 5 years ago • 0 comments

on enterprise/password/manage.pp is defined the following:

file { $password_config_file: ensure => file, owner => $splunk_user, group => $splunk_user, content => $password_content, require => File[$secret_file], }

It should define also the mode:

mode = > '0600'

Currently it is setting the permissions on that file to '0644' which is not good because in that file is the password.

jose-lmax avatar Feb 24 '20 13:02 jose-lmax