Open links in new tab
  1. command line - How to properly display the contents of the …

    How to properly display the contents of the utmp,wtmp, and btmp files? Ask Question Asked 12 years, 7 months ago Modified 11 months ago

  2. How to read older login info using the "last" command?

    Apr 4, 2014 · The last command may show too few lines of user login info, truncated by when the “wtmp begins”. If I want to get as much as possible last info (e.g., to see if my system was accessed from …

  3. Why are utmp, wtmp and btmp called as they are?

    Mar 8, 2019 · The 'u' stands for user. utmp gives information about who is on the system. The 'w' in wtmp probably comes from 'who'. The 'b' comes from 'bad', btmp records the bad login attempts. The …

  4. What causes wtmp to be cleared? - Unix & Linux Stack Exchange

    Jul 19, 2021 · /var/log/wtmp is usually rotated (or just cleared) by a monthly cron job, or with a config file in /etc/logrotate.d/ For example: on my Debian system, all the lines in /etc/logrotate.d/wtmp are …

  5. utmp, wtmp and btmp: what is the 'tmp' - Unix & Linux Stack Exchange

    May 30, 2017 · tmp may be short for temporary (as in transient) since these files are, like log files, periodically rotated/truncated. The utmp and wtmp files also initially resided in /tmp when they were …

  6. Why does /var/log/wtmp becomes so huge? How to inspect wtmp files?

    wtmp is not normally sparse, since it's a log that's appended each time there's an event. Since its records are a fixed size, it's easy to read them in reverse order to show "most recent first". Both files …

  7. last reboot and who -b shows different results?

    Jan 11, 2018 · last reboot uses the information stored in /var/log/wtmp. The information stored there is also generally accurate, but the information you need might no longer be stored there: wtmp is …

  8. Newest 'wtmp' Questions - Unix & Linux Stack Exchange

    Feb 13, 2023 · /var/log/wtmp non volatile storage I have a question regarding something what i consider unusual behavior related to the logging file /var/log/wtmp There is a server which had Ubuntu 14.04.5 …

  9. Last Reboot commands don't agree - Ask Ubuntu

    Feb 21, 2019 · They are all correct. uptime shows that the system has been up for 90 days and some hours. who -b says the system was booted 2018-11-22 21:05 .. 90 days and some hours ago. last …

  10. For some reason 'last' command is not working on my Kali

    Jul 8, 2024 · Generally, last command i used for accessing /var/log/wtmp file. But I can't use it from today. After I installed the other package to activate last it is asking for a wtmp.db file …