Resetting password in Ubuntu

If you have forgotten the user (or root) password on an Ubuntu system, follow these steps and you will be able to login and start using the machine again. When the machine is booting, keep the Shift key pressed; this will invoke the Grub menu. The menu will look something like this. Select the Advanced