Why is the /var/log/lastlog file so large?

Updated -

The size of the file /var/log/lastlog can appear to be overly large on some systems, most especially in 64 bit architectures.

ls -la /var/log/lastlog
-r--------    1 root     root     1254130450140 Jul 27 08:25 /var/log/lastlog

From the above example, the lastlog file is reporting to be ~1.2TB in size. This file is large since it contain...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content