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 /README | |
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 'README')
-rw-r--r-- | README | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -20,15 +20,21 @@ You can set the following parameters for the loginrecords class. If you just include the class loginrecords this will disable all loginlogs. -$disable_btmp, $disable_utmp, $disable_wtmp -------------------------------------------- +$disable_btmp, $disable_wtmp +---------------------------- -Default: /var/log/btmp, /var/run/utmp and /var/log/wtmp are ensured to -be absent. +Default: /var/log/btmp and /var/log/wtmp are ensured to be absent. These variables, when set to a false, non-empty value, have these files created and their logging enabled again. +$protect_utmp +------------- + +Default: /var/run/utmp is ensured to be present, but chmod'ed 660. +When set to a false, non-empty value, /var/run/utmp is ensured to be +present, and chmod'ed 664. + $disable_faillog ---------------- |