hey y'all. I want to be able to check if a program was used on my computer without going through my logs. Lets say if i go to the store and leave my laptop on with no password. Just go with it. Im running a live CD and sometimes an easy solution is not as fun as a project! So as I was saying; If I go to the store, can I write a program in C that does x if a program like firefox is opened? Like shut down or reboot? The execve function comes to mind, if that would even work. So how can i go about doing this?