Linux

Universally Unique Identifier UUID

This is the command to print the UUID for a device. This may be used with UUID= in /etc/fstab as a more robust way to name devices that works even if disks are added and removed. Ubuntu 10.04 uses this in their /etc/fstab file. Example 1 Print UUID to partition /dev/sda1 # blkid -o value […]

Read More
Linux

Making /tmp non-executable

Many simple exploits that are used against machines, (via vulnerable PHP applications or local users, etc), rely upon being able to execute commands in /tmp. If this is a seperate partition or file system you can gain some protection by marking it non-executable. The common problem with this is that apt-get fails to work with […]

Read More