Installing GNOME 3 on Ubuntu 11.04 Natty Narwhal

Note that this is an unofficial way to install GNOME 3 on Ubuntu 11.04 (Natty Narwhal), things might be broken, so proceed with caution.

Step 1: Add GNOME 3 PPA repository
sudo apt-add-repository ppa:gnome3-team/gnome3

Then update the apt-get repository database by running:
sudo apt-get update

Step 2: Install the Gnome 3 Desktop environment using this command
sudo apt-get install gnome-desktop3

Note that this might screw up your installation, you’ve been warned.

Keeping Things Private – Stripping JPEG Metadata

There are more things than we know that can be revealed by your JPEG EXIF metadata such as the type of camera you use, aperture settings, the type of focus, lens type and even the location of the picture taken that might compromise the privacy of the persons or locations depicted in the photograph.

Mypapit EXIF data gnome

One of the things that we can do to is to strip away the information from JPEG files before uploading them to the internet, by using exiftool or jhead.

Exiftool
Install libimage-exiftool-perl
sudo apt-get install libimage-exiftool-perl

and by running the command
exiftool -all= *.jpg

jhead
Install jhead package:
sudo apt-get install jhead

and by running the command
jhead -purejpg /path/to/*.jpg

Debian: Force users to use more secure login password with pam_cracklib

One of the factor that makes your system easily crackable is the weak password. PAM cracklib forces users to choose stronger password by analyzing the password strength, length and entropy.

To enable pam_cracklib in Debian / Ubuntu operating system, you need to install libpam_cracklib:

sudo apt-get install libpam_cracklib

Then edit the “/etc/pam.d/common-password” file using your favorite editor. Then, add and uncomment the following line at the end of the file.

password required pam_cracklib.so retry=3 minlen=6 difok=3

difok determines the number of same characters that allowed to be present in the old and new passwords.