Upgrade to Windows XP from Vista

After reading this post I am also thinking of dumping Windows Vista and upgrading to Windows XP :-)

Choosing good passwords - memorability and security

Password policies are an integral part of security for most computing facilities. Even though passwords have supposedly outlived their usefulness they are still the single most common security control for authentication for online systems. Thus having a user-friendly but secure enough password policy and enforcing it is very important.

An administrator usually has the ability to set the acceptable password policy for a system. However common questions that arise are - What is the minimum length of a password? How many non-alpha characters (numbers and special symbols) should it have? Are there any restrictions on using both uppercase and lowercase characters? And many more.

I just read a reasonably old but very useful paper titled The Memorability and Security of Passwords Some Empirical Results authored by Jianxin Yan, Alan Blackwell, Ross Anderson and Alastair Grant. It is short 11-page paper describing an experiment carried out on approximately 400 students that gives empirical results on the memorability and security of passwords chosen via 3 different approaches - allow user to select, random password, mnemonic passphrase.

In a nutshell the paper recommends users to choose mnemonic passwords that are at least 8 characters long, preferably longer with individual characters being a mixture of letters, numbers and special symbols.

And while you are at it do read this article by Bruce Schneier - Choosing Secure Passwords. He talks about a password recovery program called PRTK that assumes that all passwords are made up of a root (need not be a dictionary word but is usually pronounceable) and an appendage (a suffix or prefix to the root). His recommendations for a difficult to crack password:

So if you want your password to be hard to guess, you should choose something not on any of the root or appendage lists. You should mix upper and lowercase in the middle of your root. You should add numbers and symbols in the middle of your root, not as common substitutions. Or drop your appendage in the middle of your root. Or use two roots with an appendage in the middle.

Even something lower down on PRTK’s dictionary list — the seven-character phonetic pattern dictionary — together with an uncommon appendage, is not going to be guessed. Neither is a password made up of the first letters of a sentence, especially if you throw numbers and symbols in the mix.

Interesting.

Desktop screenshot - Ubuntu Gutsy Gibbon and GNOME

This is how my desktop looks like. I am running Ubuntu Gutsy Gibbon (7.10) and Gnome platform. I have been using Ubuntu for 3 years now and it is my all-time favourite operating system. It is easy to install, user-friendly, looks good, is fast and has almost everything that I need for my day to day work.

Varun’s Desktop - Ubuntu Gutsy Gibbon and GNOME

Review - HP Pavilion dv9502AU Portable

I bought my laptop (HP Pavilion dv9502AU Portable) around 3 months ago and I guess it is the right time to write up a quick review.

Overall I am very happy with this laptop. It suits my needs very well and I am very satisfied with it. The price (50K INR) is also a bargain for a 17 inch laptop in India. I bought this laptop from the Croma store in Malad.

This laptop has many good features (that is after all why I settled for it in the first place). Almost all of the laptop’s “basic” features get a pass grade easily. The processing power (1.8 GHz, 2 x 512 KB L2 Cache) and RAM (1 GB) allow Windows Vista to run reasonably well (though an extra gig of RAM would help significantly) and anything other than Vista (say Windows XP, Ubuntu Linux) runs like a breeze. The 8-cell battery consistently lasts for more than 3 hours and takes around 90 minutes to recharge fully after being fully drained. The laptop’s looks are decent enough but nothing stunning. The laptop also has all the bells and whistles expected from a modern machine (CD/DVD reader/writer, Ethernet card, modem, 5-in-1 card reader, WiFi 802.11 a/b/g, Bluetooth, ExpressCard slot, all kinds of slots, VGA webcam, microphones etc.) and till now I have not felt anything amiss. The laptop weighs a respectable 4 Kg, though this is pretty heavy if you have to lug around your machine a lot. Continue reading ‘Review - HP Pavilion dv9502AU Portable’

Get a list of installed packages in Ubuntu for reinstallation on another system

How do you get a new Ubuntu (or Debian or any distro using dpkg) installation to quickly have a specific set of packages installed without scouring through the list of packages and selecting packages one by one? More specifically how do you get a new Ubuntu installation (the target system) to have the same packages as your current one (the source system)?

Solution

Step 1: Configure and enable one or more repositories on the target system so that all repositories available in the source system are available in the target system. This Ubuntu help article - Adding Repositories in Ubuntu” - has more info on how to do it. Remember to add any non-standard repositories (for e.g. Google repositories) in addition to the standard ones.

Step 2: Get a listing of the packages currently installed on the source system using the following command.

sudo dpkg --get-selections | cut -f1 > installed-packages.txt

Step 3: Use the following command to feed the list of packages into apt-get on the target system, wait for apt-get to download and install all the packages and voila! you are done.

cat installed-packages.txt | sudo xargs apt-get install

Technorati claim

Technorati Profile

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!