diff options
author | intrigeri <intrigeri@boum.org> | 2011-02-26 00:01:16 +0100 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2011-02-26 00:05:23 +0100 |
commit | 1138f154f9cb0985076159dec34546eb9f677017 (patch) | |
tree | 6d09fd1d167a6d043ca8c7035642ceefefbb7523 /manifests/init.pp | |
parent | f35c84dc309a09ed60b56d37a206c7c59ab6f354 (diff) | |
download | puppet-loginrecords-1138f154f9cb0985076159dec34546eb9f677017.tar.gz puppet-loginrecords-1138f154f9cb0985076159dec34546eb9f677017.tar.bz2 |
Chmod /var/run/utmp 640 instead of removing it.
Quoting utmp(5):
"Unlike various other systems, where utmp logging can be disabled by removing
the file, utmp must always exist on Linux."
Moreover, removing this file breaks some of Puppet's functionality.
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 9c0a880..446819b 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -2,7 +2,7 @@ class loginrecords( $disable_btmp = true, $disable_faillog = true, $disable_lastlog = true, - $disable_utmp = true, + $protect_utmp = true, $disable_wtmp = true ){ # Include main class |