From bf9eb8ef613cc65c26eda754c8212b507fb8d9d6 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Sun, 17 Oct 2010 20:23:46 +0200 Subject: Fix permissions on btmp and wtmp when re-creating these. --- manifests/wtmp.pp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'manifests/wtmp.pp') diff --git a/manifests/wtmp.pp b/manifests/wtmp.pp index 36cea0e..9988ef5 100644 --- a/manifests/wtmp.pp +++ b/manifests/wtmp.pp @@ -3,5 +3,7 @@ class loginrecords::wtmp::disable { } class loginrecords::wtmp::enable { - file { "$wtmp_file": ensure => 'present' } + file { "$wtmp_file": + ensure => 'present', mode => 664, owner => 'root', group => 'utmp', + } } -- cgit v1.2.3