I want to find programmatically from a log file that user logs in to a Debian machine. I also want to see who logs in and what ever is logged to the file on that time. How to accomplish that task on Debian machine version 4.1 or 5?
If the information is not present in any file, is there another way of catching these events and getting the event details programmatically?
