このエントリーをはてなブックマークに追加


不正ログインユーザの履歴を表示する・lastbコマンド

lastbコマンドを使用することにより不正なログイン一覧を表示します。
尚、sshを利用してパスワード間違いをしても記録されません。 (参考資料:sshによる不正アクセスを確認する)


関連資料

lastbコマンド実行例

lastbコマンドの実行例です。
lastbコマンドはrootにて実行してください。

# lastb
root     ssh:notty    xxxxxxxxxxxxxxxx Wed Oct 8 11:39 - 11:39  (00:00)    
root     ssh:notty    xxxxxxxxxxxxxxxx Wed Oct 8 10:51 - 10:51  (00:00)    
root     ssh:notty    xxxxxxxxxxxxxxxx Wed Oct 8 10:51 - 10:51  (00:00)    
root     ssh:notty    xxxxxxxxxxxxxxxx Wed Oct 8 10:51 - 10:51  (00:00)    
root     ssh:notty    xxxxxxxxxxxxxxxx Wed Oct 8 10:50 - 10:50  (00:00)    
root     ssh:notty    xxx.xxx.xx.xx    Wed Oct 8 09:44 - 09:44  (00:00)    
root     ssh:notty    xx.xx.xx.xxx     Wed Oct 8 07:39 - 07:39  (00:00)    
root     ssh:notty    xx.xx.xx.xxx     Wed Oct 8 07:39 - 07:39  (00:00)    
root     ssh:notty    xx.xx.xx.xxx     Wed Oct 8 07:39 - 07:39  (00:00)    
root     ssh:notty    xx.xxx.xxx.xxx   Wed Oct 8 07:39 - 07:39  (00:00)    
<snip>

lastbコマンドの使いかたはlastコマンドと同様です。
以下の記事を参考にしてください。



トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2015-03-20 (金) 22:27:26