]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
login.defs: Really add LASTLOG_UID_MAX
authorStanislav Brabec <sbrabec@suse.cz>
Fri, 26 Jul 2019 20:34:59 +0000 (22:34 +0200)
committerStanislav Brabec <sbrabec@suse.cz>
Fri, 26 Jul 2019 20:34:59 +0000 (22:34 +0200)
However 46331648 mentions adding of LASTLOG_UID_MAX to login.defs, it did
not happen.

Signed-off-by: Stanislav Brabec <sbrabec@suse.cz>
etc/login.defs

index eba4bde7ed5dea0788d03d64608a5b6fc792ad05..e527cdcb5f957f15e25e94659c15bfd3733ebfb0 100644 (file)
@@ -31,6 +31,15 @@ LOG_OK_LOGINS                no
 #
 LASTLOG_ENAB           yes
 
+#
+# Limit the highest user ID number for which the lastlog entries should
+# be updated.
+#
+# No LASTLOG_UID_MAX means that there is no user ID limit for writing
+# lastlog entries.
+#
+#LASTLOG_UID_MAX
+
 #
 # Enable checking and display of mailbox status upon login.
 #