]> git.ipfire.org Git - thirdparty/util-linux.git/commit
login: add support for login.defs(5) LASTLOG_UID_MAX
authorKarel Zak <kzak@redhat.com>
Fri, 11 Jan 2019 11:16:00 +0000 (12:16 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 11 Jan 2019 11:16:00 +0000 (12:16 +0100)
commit1a83c00d888fad89f09c4acf2033790d5dcae48e
treef6c7117d371628a95cfca4e5d2217e8e8ac7f6e4
parent623427456eb632bb0b041b5fe430f70d2d3ce232
login: add support for login.defs(5) LASTLOG_UID_MAX

This new variable allows to keep lastlog file small and filter out
things like huge nfsnobody UIDs.

The variable is also supported by shadow-utils (adduser, etc.).

Addresses: https://github.com/shadow-maint/shadow/pull/142/
Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/login.1
login-utils/login.c