Skip to content

Commit

Permalink
Sane default file permissions
Browse files Browse the repository at this point in the history
doas.conf(5) is not an executable format, so `a+x` makes no sense.
It contains privileged commands/information by design, so `o+r` is questionable.

Use `u=rw,g=r,o=` to match OpenBSD's /etc/examples/doas.conf suggestion.
  • Loading branch information
klemensn committed Jun 5, 2023
1 parent 933a199 commit e5faf46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
Hash $entries = {},
String $owner = 'root',
String $group = 'wheel',
String $mode = '0555',
String $mode = '0600',
) {
concat { $configfile:
owner => $owner,
Expand Down

0 comments on commit e5faf46

Please sign in to comment.