By: maggot62

August 5, 2009 4:01 pm

2,592 views

A little BASH scripting to backup the MBRs of all your machine's Hard Drives

First just let's make sure we know how to back up the MBR of a disk. So, here, we will back up the MBR of a device /dev/sda. dd if=/dev/sda of=/tmp/sda.mbr bs=512 count=1 The command dd is a very simple bit imaging program, it does not care about anything other than the raw data […]

Read More



By: maggot62

July 22, 2009 5:41 pm

19,641 views

SUDO or not SU

Security is weakened when the root password is known, as administrators leave they may still have the root password and access to the system. Rather than give administrators the root password; why not consider assigning them the ability to run /bin/su via the sudo command? This way you do not need to divulge the root […]

Read More



By: maggot62

January 14, 2009 12:42 pm

1,317 views

Uniformity Across Your Linux Platform

It has been traditional within SUSE that service scripts are activated with a symbolic link usually in /usr/sbin. So that to start the sshd service you can issue the command rcsshd start as root from anywhere as the /usr/sbin directory is in the search path. Of course you also would be able to use the […]

Read More