aboutsummaryrefslogtreecommitdiff
path: root/manifests/utmp/unprotect.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/utmp/unprotect.pp')
-rw-r--r--manifests/utmp/unprotect.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/utmp/unprotect.pp b/manifests/utmp/unprotect.pp
new file mode 100644
index 0000000..9da7517
--- /dev/null
+++ b/manifests/utmp/unprotect.pp
@@ -0,0 +1,8 @@
+class loginrecords::utmp::unprotect(
+ $utmp_file = '/var/run/utmp'
+){
+ file{$utmp_file:
+ ensure => 'present',
+ owner => 'root', group => 'utmp', mode => 664;
+ }
+}