How to Tell if Your Processor Supports VT

2010
09.02

Virtualization Technology (VT) is a set of enhancements to newer processors that improve performance for running a virtual machine by offloading some of the work to the new cpu extensions. Both AMD and Intel have processors that support this technology, but how do you tell if your system can handle it?

It’s quite simple: We’ll need to take a peek inside the /proc/cpuinfo file and look at the flags section for one of two values, vmx or svm.

  • vmx – (intel)
  • svm – (amd)

You can use grep to quickly see if either value exists in the file by running the following command:

egrep ‘(vmx|svm)’ /proc/cpuinfo

If your system supports VT, then you’ll see vmx or svm in the list of flags. My system has two processors, so there are two separate sections:

flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm

VT technology can still be disabled in your computer’s BIOS, however, so you’ll want to check there to make sure that it hasn’t been disabled. The flags in cpuinfo simply mean that your processor supports it.

Source: http://www.howtogeek.com

Password Protect your Linux GRUB menu

2010
08.31

Did you know that without this protection, a user can just reboot your system, enters it in “single-user” mode and get instant root access to your system?
It is time to protect your GRUB menu with a password and add an additional layer of security in 4 simple steps:

1.) Log in as root and execute the following command:
“grub-md5-crypt”

2.) Enter the desired password and re-confirm it.
Once that is done, it will generate a md5 hash key:

e.g: $1$6OIyj/$k3tMWdt2uSFViufz1YsgF/

3.) Add this MD5 password to your /boot/grub/grub.conf by adding the following line (before the title line):

password –md5 [your hash key]

4.) Save the file and try to restart in single-user mode.

Can’t access your Google Apps mail account

2010
08.30

Sometimes when configuring your e-mail client, you cannot for some reason access your Google Apps mail account. (https://mail.google.com/a/<your domain>/#)
If you are sure all your settings are correct and it prompts you something like “web login required” error the solution is in clearing the Captcha cache.

The system tries to be smart and to protect you from automated login. Or basically to make  sure it is really you trying to access the account.
Go to the following URL:

https://www.google.com/a/<your domain>/UnlockCaptcha

Clear the cache by entering your username and password following by a picture challenge.
After doing this procedure, try your e-mail client again.

More information can be found using the link below from GMail Help:

http://mail.google.com/support/bin/answer.py?answer=78754