aboutsummaryrefslogtreecommitdiff
path: root/README
blob: 9d9d8ef99911b2d9691dd072856e5477c38a776c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
Puppet module to manage login records.

E.g. disable successful and failed login records.

All functionality is currently only available on Debian GNU/Linux.
Bits should be made available for other operating systems after
checking they are configured the same way.

Defaults to disable all supported login records.

Dependencies
============

- the common module: git://labs.riseup.net/shared-common

Configuration
=============

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_wtmp
---------------------------

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.

$disable_utmp
-------------

Default: /var/run/utmp is not removed.

WARNING: Removing utmp removes necessary information for binaries such
as runlevel. This might break other scripts that are relaying on the
output of this binary or other scripts depending on their output. For
example it is known that puppet will not anymore be able to idempodently
manage runlevels. -> https://projects.puppetlabs.com/issues/5409

$disable_faillog
----------------

Default: faillog is disabled.
When set to false, faillog is enabled.

$disable_lastlog
----------------

Default: lastlog is disabled.
When set to a false, non-empty value, lastlog is not changed.

Copyright
=========

Copyright (c) 2010 intrigeri <intrigeri@boum.org>

Licence
=======

GPL-3+