psacct: Tighten permissions on OpenBSD
This commit is contained in:
parent
d783c7e09e
commit
08b8417147
1 changed files with 8 additions and 1 deletions
|
@ -54,9 +54,16 @@ class psacct::linux {
|
||||||
#
|
#
|
||||||
class psacct::openbsd {
|
class psacct::openbsd {
|
||||||
|
|
||||||
|
file { "/var/account":
|
||||||
|
ensure => directory,
|
||||||
|
mode => "0750",
|
||||||
|
owner => "root",
|
||||||
|
group => "wheel",
|
||||||
|
}
|
||||||
|
|
||||||
file { "/var/account/acct":
|
file { "/var/account/acct":
|
||||||
ensure => present,
|
ensure => present,
|
||||||
mode => "0644",
|
mode => "0640",
|
||||||
owner => "root",
|
owner => "root",
|
||||||
group => "wheel",
|
group => "wheel",
|
||||||
notify => Exec["accton"],
|
notify => Exec["accton"],
|
||||||
|
|
Loading…
Add table
Reference in a new issue