Categories
r00t

Backup & versioning with RSYNC

You may already know rsync – the powerful tool which you use to synchronize files from one location to another. I am using it on every Linux server that needs scheduled backups, but this time I had to not only backup some files, but also to keep track of previous versions, due to users being sloppy with their work and sometimes it happened they have permanently deleted the files, without moving to Trash. (sigh!)

The following line of code may be saved in a file, as backupversion.sh to a folder of your choice (let’s say /root/backupversion.sh).

Categories
r00t

Matrox G550 dual monitor

Sometimes Google is just not enough. Especially when you’ve clicked hundreds of results, hoping you will find the right answer to your problem. My problem was the Matrox G550 video card and its missing drivers for the modern, nowadays versions of Linux. In my case, the distro is Ubuntu.

I have tried to do everything I found on Google about how to set up X in order to display on dual monitor configuration. After hours of trying almost everything, I have combined all information I found and managed to find the workaround for Matrox G550 dual monitor configuration.

Categories
r00t

How To reset the root password in (Debian) Linux

Many times I was in the situation where I am creating an account on a website and asking myself “what will I do if I forget the password?” and then check if that website offers the option of password recovery. When this situation is about the computer you’re using, there is no such option, so you must find other ways for recovering the password. One of these situation is root password in Linux.