Manipulating Log Data

User Login

Modifying the log file and matching time stamps.

root@slax:~# more /var/log/secure

root@slax:~# date

Wed Apr 29 11:26:30 GMT 2009

root@slax:~# echo ‘Apr 29 11:28:08 (none) su[31337]: + vc/1 root-root’ >> /var/log/secure

root@slax:~# date

Wed Apr 29 11:28:08 GMT 2009

Application Logs

Take a look at the /var/log/messages file

results matching ""

    No results matching ""