Archive for November 11, 2009

record a linux session

Posted: November 11, 2009 in linux

How to record a linux session If you want to record your linux session with given commands and their outputs, just use the script command as below: script session.log it basically forks a new shell so that if you want to stop session recording, just type exit or press CTRL-D After all, you can find [...]

In the beginning If you have a directory in you website, which you want to keep restricted access. Easy, fast and secure solution is to use Apache authentication functionality. Step one – passwords file. First you’ll need a file with all users and their encrypted passwords. It looks something like this: user1:7yefORPzkOGtw user2:Zwes8W.81oqJ2 Usernames are [...]