Category Archives: Security

See who’s poking your Linux box

If you’re using SSH and you have your ports wide open to the world, your best bet would be to install fail2ban. If you’re curious though as of whom is trying to get in by bruteforcing your SSH passwords, you might get a clear view with the following command: grep “POSSIBLE BREAK-IN ATTEMPT” /var/log/auth.log This… Read More »

Lock your KDE screen from the command line

Did you know you can lock your current KDE screen by using the command line? For the 3.x series use dcop kdesktop KScreensaverIface lock and for KDE 4.x try qdbus org.freedesktop.ScreenSaver /ScreenSaver Lock With the help of these you should be able to craft a simple shell script that will lock your screen at given… Read More »

Find all world-writable files

If you are an administrator and have users on your server, keeping files with limited permissions should be a priority. To seek out all world-writable files on your machine, do a simple find / -perm -2 ! -type l -ls