diff options
author | intrigeri <intrigeri@boum.org> | 2010-10-17 20:23:46 +0200 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2010-10-17 20:23:46 +0200 |
commit | bf9eb8ef613cc65c26eda754c8212b507fb8d9d6 (patch) | |
tree | b6fc9692f75128dc4d6ef544f48d7969a4907964 /manifests/btmp.pp | |
parent | ef2e21a7644eb5eb6d31bad47076a33abb02801c (diff) | |
download | puppet-loginrecords-bf9eb8ef613cc65c26eda754c8212b507fb8d9d6.tar.gz puppet-loginrecords-bf9eb8ef613cc65c26eda754c8212b507fb8d9d6.tar.bz2 |
Fix permissions on btmp and wtmp when re-creating these.
Diffstat (limited to 'manifests/btmp.pp')
-rw-r--r-- | manifests/btmp.pp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/manifests/btmp.pp b/manifests/btmp.pp index 4d40654..aa9c945 100644 --- a/manifests/btmp.pp +++ b/manifests/btmp.pp @@ -3,5 +3,7 @@ class loginrecords::btmp::disable { } class loginrecords::btmp::enable { - file { "$btmp_file": ensure => 'present' } + file { "$btmp_file": + ensure => 'present', mode => 660, owner => 'root', group => 'utmp', + } } |