Issue #4145 has been updated by Matthew Barr.

Any update to this?   The whole point of the global known hosts file is so that 
other users can use it.. which means that it should be 644.

----------------------------------------
Bug #4145: sshkey resource created /etc/ssh/ssh_known_hosts mode 0600
https://projects.puppetlabs.com/issues/4145#change-93160

* Author: Alan Barrett
* Status: Accepted
* Priority: Normal
* Assignee: 
* Category: ssh
* Target version: 
* Affected Puppet version: 0.25.5
* Keywords: 
* Branch: 
----------------------------------------
I used an sshkey resource like this:

<pre>
sshkey { "host.domain.example":
    ensure => present,
    type => "ssh-rsa",
    key => "AAAblahblahblah==",
}
</pre>

and puppet created the /etc/ssh/ssh_known_hosts file with sensible contents,
but with mode 0600.

This file is supposed to be world readable.  Of course I can use a file
resource to fix it, but I'd prefer it if puppet created it with a sensible mode.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to