Monthly Archives: September 2007

Viewing Login History

Reviewing when accounts logged in is also an important step in observing any suspicious behaviour on your systems. This information is recorded to a binary database logfile called /var/log/wtmp. This file cannot be viewed using a normal text editor as … Continue reading

Posted in Linux | Leave a comment

Sed is your friend

Searching For Text in A File using sed sed – stream editor for filtering and transforming text # write out file with lines that DO NOT match “text to skip here” (emulates grep -v) sed ‘/text to skip here/d’ lastlogins.txt … Continue reading

Posted in Linux | Leave a comment