Archive for the ‘tips & tricks’ Category

Mount /tmp and /var/tmp with no exec

Posted: 12th April 2010 by BritishSongWriter in gentoo, tips & tricks

We create some files that we'll use to mount at /tmp and /var/tmp. I've installed bind in a chrooted environment, so to keep things simple, the chosen location of the files which will be mounted is /chroot. Create 100MB file for our /tmp partition. If you need more space, make count size larger. Create 1000MB [...]

Check the HDD temperature

Posted: 11th April 2010 by Valkyrka in tips & tricks

I wanted to check the temperature of my hard-disk the other day. Searching through the packages using YUM, I found the package hddtemp. I installed it using YUM : In order to check your HDD temperature simply run : Replace /dev/hdb with your actual device. You can find the device name of the hard-disk(s) installed, [...]

SSH without password login

Posted: 9th April 2010 by Valkyrka in tips & tricks

This is a small tutorial on how to implement key-based SSH authentication. This is very useful if you are copying data from a server to another as you wouldn't have to log in and type the password each time. First, we create the users on the servers. I will name my user 'njord' and will [...]