Here's how to reset the root or user password for Ubuntu 12.04 using recovery mode. Easily use a root shell to reset your password.