Score:1

Where can I find older wtmp log files?

ke flag

Every so often the last log is rotated out and stored in /var/log as wtmp* however when I look in my system in /var/log I only see the current wtmp file and the wtmp* file before it. I know the system has had more than one wtmp log rotation. Does the archived or rotated out wtmp log get overwritten each time it rotates? Does it get moved somewhere else? Did the system just fail to save the rotated-out file from the month before last?

To clarify my last wtmp rotation was OCT 1 and the one before that was SEPT 1. I have the log file from OCT 1 to today and I have the wtmp log file from SEPT1 to OCT1, but I cannot find the one that occurred before SEPT1.

Score:1
bd flag

On most Linux distributions logrotate only keeps one older version of /var/log/wtmp. If you need more, you can configure it typically in a place like /etc/logrotate.d/wtmp. Look for a line saying

rotate 1

and increase the value as needed.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.