最後更新: 2024-04-24
目錄
- wtmp file
- read wtmp file
- btmp file
wtmp file
/var/log/wtmp
一個二進位制檔案, 記錄每個使用者的登入次數和持續時間等資訊 (since the last reboot)
read wtmp file
last 命令就通過訪問這個檔案獲得這些資訊
last [-f /var/log/wtmp]
btmp file
To show you the list of unsuccessful login attempts held on the target machine.