Oliver, from the lastlog(8) manpage:
The lastlog file is a database which contains info on the
last login of each user. You should not rotate it. It is a
sparse file, so its size on the disk is usually much smaller
than the one shown by "ls -l" (which can indicate a really
big file if you have in passwd users with a high UID). You
can display its real size with "ls -s".
http://manpages.ubuntu.com/manpages/focal/man8/lastlog.8.html
If you're using a filesystem that can't handle sparse files it might be
best to not use lastlog.
Thanks
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1707645
Title:
system with high numbered uids has huge sparse /var/log/lastlog
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pam/+bug/1707645/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs