About 811,000 results
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, 4 months ago Modified 9 months ago

  2. 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 …

  3. 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 …

  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. 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 …

  6. binary files Linux /var/log/wtmp - Unix & Linux Stack Exchange

    The wtmp (and utmp) files date back into the 1970s, and the designers did not give a lot of reasons. What you can see is that utmp and wtmp record accounting information using a fixed-length record, …

  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. linux - why /var/log/wtmp and /var/log/lastlog have read permission …

    Jan 9, 2017 · For the file /var/log/wtmp, the read and write permission for the group utmp is to allow it to write the login, logout informations to the file. Changing it to readonly for group will affect this …

  9. 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 …

  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 …